1+ plugins {
2+ id ' java'
3+ id ' groovy'
4+ id ' idea'
5+ id ' eclipse'
6+ }
7+
18group = ' com.veem'
29version = ' 1.0'
310
4- apply plugin : ' java'
5- apply plugin : ' groovy'
6- apply plugin : ' idea'
7- apply plugin : ' eclipse'
8-
911sourceCompatibility = 1.8
1012targetCompatibility = 1.8
1113
@@ -18,24 +20,31 @@ configurations {
1820}
1921
2022dependencies {
21- compile ' com.fasterxml.jackson.core:jackson-databind:2.9.8' ,
22- ' com.googlecode.json-simple:json-simple:1.1.1' ,
23- ' com.squareup.retrofit2:retrofit:2.2.0' ,
24- ' com.squareup.retrofit2:converter-jackson:2.2.0' ,
25- ' com.squareup.okhttp3:logging-interceptor:3.12.0' ,
26- ' com.neovisionaries:nv-i18n:1.21' ,
27- ' org.projectlombok:lombok:1.18.4' ,
28- ' org.slf4j:slf4j-api:1.7.25'
29- testCompile ' org.spockframework:spock-core:1.2-groovy-2.5'
23+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.16.1'
24+ implementation ' com.squareup.retrofit2:retrofit:2.9.0'
25+ implementation ' com.squareup.retrofit2:converter-jackson:2.9.0'
26+ implementation ' com.squareup.okhttp3:logging-interceptor:4.12.0'
27+ implementation ' com.neovisionaries:nv-i18n:1.29'
28+ implementation ' org.slf4j:slf4j-api:2.0.12'
29+
30+ compileOnly ' org.projectlombok:lombok:1.18.30'
31+ annotationProcessor ' org.projectlombok:lombok:1.18.30'
32+
33+ testCompileOnly ' org.projectlombok:lombok:1.18.30'
34+ testAnnotationProcessor ' org.projectlombok:lombok:1.18.30'
35+
36+ testImplementation ' org.apache.groovy:groovy-json:4.0.19'
37+ testImplementation ' org.spockframework:spock-core:2.3-groovy-4.0'
3038}
3139
32- task copyExtraLibs ( type : Copy ) {
40+ tasks . register( ' copyExtraLibs ' , Copy ) {
3341 from configurations. extraLibs
34- into tasks. jar. destinationDir
42+ into tasks. jar. destinationDirectory
3543}
3644
3745jar {
38- from configurations. compile . collect { it. isDirectory() ? it : zipTree(it) }
46+ from configurations. runtimeClasspath . collect { it. isDirectory() ? it : zipTree(it) }
3947 exclude ' META-INF/*.SF' , ' META-INF/*.DSA' , ' META-INF/*.RSA' , ' META-INF/*.MF' , ' org/junit/**' , ' junit'
48+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
4049
4150}
0 commit comments