Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit af4211a

Browse files
committed
Upgrade to graphql-java 14 and graphql-java-tools 6.0.1
1 parent 68a555f commit af4211a

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232

3333
## WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x
3434

35-
If you're using `graphql-java-tools` you need to set the `kotlin.version` in your Spring Boot project explicitly to
36-
version 1.3.10, because Spring Boot Starter parent currently overrides it with a 1.2.* version of Kotlin.
35+
If you're using `graphql-java-tools` in combination with Spring Boot 2.1.x or below then you need to set the
36+
`kotlin.version` in your Spring Boot project explicitly to version 1.3.70, because Spring Boot Starter parent currently
37+
overrides it with a 1.2.* version of Kotlin.
3738
`graphql-java-tools` requires 1.3.* however because of its coroutine support. If you don't override this version
3839
you will run into a `NoClassDefFoundError`.
3940

@@ -42,14 +43,14 @@ Spring Boot team has indicated the Kotlin version will be upgraded to 1.3 in Spr
4243
### Using Gradle
4344
Set the Kotlin version in your `gradle.properties`
4445
```
45-
kotlin.version=1.3.10
46+
kotlin.version=1.3.70
4647
```
4748

4849
### Using Maven
4950
Set the Kotlin version in your `<properties>` section
5051
```xml
5152
<properties>
52-
<kotlin.version>1.3.10</kotlin.version>
53+
<kotlin.version>1.3.70</kotlin.version>
5354
</properties>
5455
```
5556

@@ -80,19 +81,19 @@ repositories {
8081
}
8182
8283
dependencies {
83-
compile 'com.graphql-java-kickstart:graphql-spring-boot-starter:6.0.1'
84+
compile 'com.graphql-java-kickstart:graphql-spring-boot-starter:7.0.0'
8485
8586
// to embed Altair tool
86-
runtime 'com.graphql-java-kickstart:altair-spring-boot-starter:6.0.1'
87+
runtime 'com.graphql-java-kickstart:altair-spring-boot-starter:7.0.0'
8788
8889
// to embed GraphiQL tool
89-
runtime 'com.graphql-java-kickstart:graphiql-spring-boot-starter:6.0.1'
90+
runtime 'com.graphql-java-kickstart:graphiql-spring-boot-starter:7.0.0'
9091
9192
// to embed Voyager tool
92-
runtime 'com.graphql-java-kickstart:voyager-spring-boot-starter:6.0.1'
93+
runtime 'com.graphql-java-kickstart:voyager-spring-boot-starter:7.0.0'
9394
9495
// testing facilities
95-
testCompile 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:6.0.1'
96+
testCompile 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:7.0.0'
9697
}
9798
```
9899

@@ -101,38 +102,38 @@ Maven:
101102
<dependency>
102103
<groupId>com.graphql-java-kickstart</groupId>
103104
<artifactId>graphql-spring-boot-starter</artifactId>
104-
<version>6.0.1</version>
105+
<version>7.0.0</version>
105106
</dependency>
106107

107108
<!-- to embed Altair tool -->
108109
<dependency>
109110
<groupId>com.graphql-java-kickstart</groupId>
110111
<artifactId>altair-spring-boot-starter</artifactId>
111-
<version>6.0.1</version>
112+
<version>7.0.0</version>
112113
<scope>runtime</scope>
113114
</dependency>
114115

115116
<!-- to embed GraphiQL tool -->
116117
<dependency>
117118
<groupId>com.graphql-java-kickstart</groupId>
118119
<artifactId>graphiql-spring-boot-starter</artifactId>
119-
<version>6.0.1</version>
120+
<version>7.0.0</version>
120121
<scope>runtime</scope>
121122
</dependency>
122123

123124
<!-- to embed Voyager tool -->
124125
<dependency>
125126
<groupId>com.graphql-java-kickstart</groupId>
126127
<artifactId>voyager-spring-boot-starter</artifactId>
127-
<version>6.0.1</version>
128+
<version>7.0.0</version>
128129
<scope>runtime</scope>
129130
</dependency>
130131

131132
<!-- testing facilities -->
132133
<dependency>
133134
<groupId>com.graphql-java-kickstart</groupId>
134135
<artifactId>graphql-spring-boot-starter-test</artifactId>
135-
<version>6.0.1</version>
136+
<version>7.0.0</version>
136137
<scope>test</scope>
137138
</dependency>
138139

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1818
#
1919

20-
version = 6.0.2-SNAPSHOT
20+
version = 7.0.0-SNAPSHOT
2121

2222
### Project Metadata
2323

@@ -42,10 +42,10 @@ TARGET_COMPATIBILITY = 1.8
4242
LIB_GRAPHQL_JAVA_VER = 14.0
4343
LIB_SPRING_BOOT_VER = 2.2.5.RELEASE
4444
LIB_GRAPHQL_SERVLET_VER = 9.0.1
45-
LIB_GRAPHQL_JAVA_TOOLS_VER = 6.0.0
45+
LIB_GRAPHQL_JAVA_TOOLS_VER = 6.0.1
4646
LIB_APACHE_COMMONS_TEXT=1.8
4747
LIB_JSOUP_VER=1.12.2
48-
kotlin.version=1.3.61
48+
kotlin.version=1.3.70
4949

5050
### Gradle Plugins
5151

0 commit comments

Comments
 (0)