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

Commit e06916d

Browse files
authored
Merge pull request #517 from graphql-java-kickstart/spring-boot-2.4-upgrade
Spring boot 2.4 upgrade
2 parents 56ce93c + d0dc0e8 commit e06916d

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ and join the team!
5050

5151
If you're using `graphql-java-tools` in combination with Spring Boot 2.1.x or below then you need to
5252
set the
53-
`kotlin.version` in your Spring Boot project explicitly to version 1.3.70, because Spring Boot
54-
Starter parent currently overrides it with a 1.2.* version of Kotlin.
53+
`kotlin.version` in your Spring Boot project explicitly to version >= 1.3.70, because Spring Boot
54+
Starter parent of that Spring Boot version overrides it with a 1.2.* version of Kotlin.
5555
`graphql-java-tools` requires 1.3.* however because of its coroutine support. If you don't override
5656
this version you will run into a `NoClassDefFoundError`.
5757

@@ -108,19 +108,19 @@ repositories {
108108
}
109109
110110
dependencies {
111-
implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:8.1.0'
111+
implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:11.0.0'
112112
113113
// to embed Altair tool
114-
runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:8.1.0'
114+
runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:11.0.0'
115115
116116
// to embed GraphiQL tool
117-
runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:8.1.0'
117+
runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:11.0.0'
118118
119119
// to embed Voyager tool
120-
runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:8.1.0'
120+
runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:11.0.0'
121121
122122
// testing facilities
123-
testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:8.1.0'
123+
testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:11.0.0'
124124
}
125125
```
126126

@@ -130,38 +130,38 @@ Maven:
130130
<dependency>
131131
<groupId>com.graphql-java-kickstart</groupId>
132132
<artifactId>graphql-spring-boot-starter</artifactId>
133-
<version>8.1.0</version>
133+
<version>11.0.0</version>
134134
</dependency>
135135

136136
<!-- to embed Altair tool -->
137137
<dependency>
138138
<groupId>com.graphql-java-kickstart</groupId>
139139
<artifactId>altair-spring-boot-starter</artifactId>
140-
<version>8.1.0</version>
140+
<version>11.0.0</version>
141141
<scope>runtime</scope>
142142
</dependency>
143143

144144
<!-- to embed GraphiQL tool -->
145145
<dependency>
146146
<groupId>com.graphql-java-kickstart</groupId>
147147
<artifactId>graphiql-spring-boot-starter</artifactId>
148-
<version>8.1.0</version>
148+
<version>11.0.0</version>
149149
<scope>runtime</scope>
150150
</dependency>
151151

152152
<!-- to embed Voyager tool -->
153153
<dependency>
154154
<groupId>com.graphql-java-kickstart</groupId>
155155
<artifactId>voyager-spring-boot-starter</artifactId>
156-
<version>8.1.0</version>
156+
<version>11.0.0</version>
157157
<scope>runtime</scope>
158158
</dependency>
159159

160160
<!-- testing facilities -->
161161
<dependency>
162162
<groupId>com.graphql-java-kickstart</groupId>
163163
<artifactId>graphql-spring-boot-starter-test</artifactId>
164-
<version>8.1.0</version>
164+
<version>11.0.0</version>
165165
<scope>test</scope>
166166
</dependency>
167167

gradle.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1717
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1818
#
19-
version=11.0.1-SNAPSHOT
19+
version=11.1.0-SNAPSHOT
2020
### Project Metadata
2121
PROJECT_GROUP=com.graphql-java-kickstart
2222
PROJECT_NAME=graphql-spring-boot
@@ -32,14 +32,13 @@ SOURCE_COMPATIBILITY=1.8
3232
TARGET_COMPATIBILITY=1.8
3333
### Dependencies
3434
LIB_GRAPHQL_JAVA_VER=16.1
35-
LIB_SPRING_BOOT_VER=2.3.6.RELEASE
35+
LIB_SPRING_BOOT_VER=2.4.2
3636
LIB_GRAPHQL_SERVLET_VER=11.0.0
3737
LIB_GRAPHQL_JAVA_TOOLS_VER=11.0.0
3838
LIB_GRAPHQL_ANNOTATIONS_VER=8.3
3939
LIB_REFLECTIONS_VER=0.9.11
4040
LIB_APACHE_COMMONS_TEXT=1.8
4141
LIB_JSOUP_VER=1.13.1
42-
kotlin.version=1.3.72
4342
### Gradle Plugins
4443
LIB_BINTRAY_PLUGIN_VER=1.8.5
4544
LIB_RELEASE_PLUGIN_VER=2.8.1

0 commit comments

Comments
 (0)