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-
9- sourceCompatibility = 1.8
10- targetCompatibility = 1.8
11-
1211repositories {
1312 mavenCentral()
1413}
@@ -17,25 +16,38 @@ configurations {
1716 extraLibs
1817}
1918
19+ java {
20+ sourceCompatibility = JavaVersion . VERSION_17
21+ targetCompatibility = JavaVersion . VERSION_17
22+ }
23+
2024dependencies {
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'
25+ implementation ' jakarta.xml.bind:jakarta.xml.bind-api:4.0.1'
26+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.16.1'
27+ implementation ' com.squareup.retrofit2:retrofit:2.9.0'
28+ implementation ' com.squareup.retrofit2:converter-jackson:2.9.0'
29+ implementation ' com.squareup.okhttp3:logging-interceptor:4.12.0'
30+ implementation ' com.neovisionaries:nv-i18n:1.29'
31+ implementation ' org.slf4j:slf4j-api:2.0.12'
32+
33+ compileOnly ' org.projectlombok:lombok:1.18.30'
34+ annotationProcessor ' org.projectlombok:lombok:1.18.30'
35+
36+ testCompileOnly ' org.projectlombok:lombok:1.18.30'
37+ testAnnotationProcessor ' org.projectlombok:lombok:1.18.30'
38+
39+ testImplementation ' org.apache.groovy:groovy-json:4.0.19'
40+ testImplementation ' org.spockframework:spock-core:2.3-groovy-4.0'
3041}
3142
32- task copyExtraLibs ( type : Copy ) {
43+ tasks . register( ' copyExtraLibs ' , Copy ) {
3344 from configurations. extraLibs
34- into tasks. jar. destinationDir
45+ into tasks. jar. destinationDirectory
3546}
3647
3748jar {
38- from configurations. compile . collect { it. isDirectory() ? it : zipTree(it) }
49+ from configurations. runtimeClasspath . collect { it. isDirectory() ? it : zipTree(it) }
3950 exclude ' META-INF/*.SF' , ' META-INF/*.DSA' , ' META-INF/*.RSA' , ' META-INF/*.MF' , ' org/junit/**' , ' junit'
51+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
4052
4153}
0 commit comments