Skip to content

Commit a0c4042

Browse files
committed
Merge branch 'gradle-7' into lombok-annotation-processor
# Conflicts: # graphql-java-kickstart/build.gradle
2 parents df5a168 + f7b9e30 commit a0c4042

File tree

5 files changed

+19
-17
lines changed

5 files changed

+19
-17
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,5 @@ nexusStaging {
184184
}
185185

186186
wrapper {
187-
gradleVersion = "${GRADLE_WRAPPER_VER}"
187+
distributionType = Wrapper.DistributionType.ALL
188188
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ LIB_SLF4J_VER=1.7.30
1313
LIB_LOMBOK_VER=1.18.20
1414
SOURCE_COMPATIBILITY=1.8
1515
TARGET_COMPATIBILITY=1.8
16-
GRADLE_WRAPPER_VER=6.7.1
16+
GRADLE_WRAPPER_VER=7.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
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
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

graphql-java-kickstart/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ jar {
44
bndfile = 'bnd.bnd'
55
}
66

7+
apply plugin: 'java-library-distribution'
8+
79
dependencies {
810
// GraphQL
9-
apiElements "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER"
11+
api "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER"
1012
implementation "org.slf4j:slf4j-api:$LIB_SLF4J_VER"
1113

1214
// 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"
1719
}

graphql-java-servlet/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ dependencies {
2929
compileOnly 'org.osgi:org.osgi.service.metatype.annotations:1.3.0'
3030
compileOnly 'org.osgi:org.osgi.annotation:6.0.0'
3131

32-
testCompile 'io.github.graphql-java:graphql-java-annotations:8.3'
32+
testImplementation 'io.github.graphql-java:graphql-java-annotations:8.3'
3333

3434
// 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'
4343
}

0 commit comments

Comments
 (0)