forked from vsalaman/qrman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (62 loc) · 1.67 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
buildscript {
repositories {
maven {
url 'http://jenkins.aws.fintech:8081/artifactory/plugins-release'
credentials {
username = "${artifactory_user}"
password = "${artifactory_password}"
}
name = "maven-main-cache"
}
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.1"
}
}
plugins {
id 'java'
id "com.jfrog.artifactory" version "4.7.3"
}
group 'works.fintech'
version '1.0.3'
sourceCompatibility = 1.8
apply plugin: "com.jfrog.artifactory"
apply plugin: 'maven-publish'
repositories {
add buildscript.repositories.getByName("maven-main-cache")
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.4'
annotationProcessor 'org.projectlombok:lombok:1.18.4'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.2'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.3.2'
testCompile "org.mockito:mockito-core:2.23.4"
testCompile 'org.mockito:mockito-junit-jupiter:2.23.4'
compile 'org.bouncycastle:bcprov-jdk15on:1.60'
}
test {
useJUnitPlatform()
}
artifactory {
contextUrl = "${artifactory_contextUrl}"
publish {
repository {
repoKey = 'libs-snapshot-local'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
defaults {
publications ('mavenJava')
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
//test 01