File tree Expand file tree Collapse file tree 5 files changed +19
-17
lines changed Expand file tree Collapse file tree 5 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -184,5 +184,5 @@ nexusStaging {
184
184
}
185
185
186
186
wrapper {
187
- gradleVersion = " ${ GRADLE_WRAPPER_VER } "
187
+ distributionType = Wrapper.DistributionType . ALL
188
188
}
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ LIB_SLF4J_VER=1.7.30
13
13
LIB_LOMBOK_VER =1.18.20
14
14
SOURCE_COMPATIBILITY =1.8
15
15
TARGET_COMPATIBILITY =1.8
16
- GRADLE_WRAPPER_VER =6.7.1
16
+ GRADLE_WRAPPER_VER =7.0
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -all.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0 -all.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 4
4
bndfile = ' bnd.bnd'
5
5
}
6
6
7
+ apply plugin : ' java-library-distribution'
8
+
7
9
dependencies {
8
10
// GraphQL
9
- apiElements " com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER "
11
+ api " com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER "
10
12
implementation " org.slf4j:slf4j-api:$LIB_SLF4J_VER "
11
13
12
14
// JSON
13
- apiElements " com.fasterxml.jackson.core:jackson-core:$LIB_JACKSON_VER "
14
- apiElements " com.fasterxml.jackson.core:jackson-annotations:$LIB_JACKSON_VER "
15
- apiElements " com.fasterxml.jackson.core:jackson-databind:$LIB_JACKSON_VER "
16
- apiElements " com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$LIB_JACKSON_VER "
15
+ api " com.fasterxml.jackson.core:jackson-core:$LIB_JACKSON_VER "
16
+ api " com.fasterxml.jackson.core:jackson-annotations:$LIB_JACKSON_VER "
17
+ api " com.fasterxml.jackson.core:jackson-databind:$LIB_JACKSON_VER "
18
+ api " com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$LIB_JACKSON_VER "
17
19
}
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ dependencies {
29
29
compileOnly ' org.osgi:org.osgi.service.metatype.annotations:1.3.0'
30
30
compileOnly ' org.osgi:org.osgi.annotation:6.0.0'
31
31
32
- testCompile ' io.github.graphql-java:graphql-java-annotations:8.3'
32
+ testImplementation ' io.github.graphql-java:graphql-java-annotations:8.3'
33
33
34
34
// Unit testing
35
- testCompile " org.codehaus.groovy:groovy-all:2.4.1"
36
- testCompile " org.spockframework:spock-core:1.1-groovy-2.4-rc-3"
37
- testRuntime " cglib:cglib-nodep:3.2.4"
38
- testRuntime " org.objenesis:objenesis:2.5.1"
39
- testCompile " org.slf4j:slf4j-simple:$LIB_SLF4J_VER "
40
- testCompile ' org.springframework:spring-test:4.3.7.RELEASE'
41
- testRuntime ' org.springframework:spring-web:4.3.7.RELEASE'
42
- testCompile ' com.google.guava:guava:24.1.1-jre'
35
+ testImplementation " org.codehaus.groovy:groovy-all:2.4.1"
36
+ testImplementation " org.spockframework:spock-core:1.1-groovy-2.4-rc-3"
37
+ testRuntimeOnly " cglib:cglib-nodep:3.2.4"
38
+ testRuntimeOnly " org.objenesis:objenesis:2.5.1"
39
+ testImplementation " org.slf4j:slf4j-simple:$LIB_SLF4J_VER "
40
+ testImplementation ' org.springframework:spring-test:4.3.7.RELEASE'
41
+ testRuntimeOnly ' org.springframework:spring-web:4.3.7.RELEASE'
42
+ testImplementation ' com.google.guava:guava:24.1.1-jre'
43
43
}
You can’t perform that action at this time.
0 commit comments