Skip to content

Commit 594cf16

Browse files
committed
chore: Upgrade Spring GraphQL example to spring boot 2.7.0-M1
1 parent a3e10ba commit 594cf16

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

dgs-kotlin-co/src/test/kotlin/com/example/demo/MutationWithMockkTests.kt

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import io.mockk.coVerify
99
import io.mockk.mockk
1010
import kotlinx.coroutines.ExperimentalCoroutinesApi
1111
import kotlinx.coroutines.test.runTest
12-
import org.assertj.core.api.Assertions.assertThat
1312
import org.junit.jupiter.api.Test
1413
import org.mockito.ArgumentMatchers
1514
import org.springframework.beans.factory.annotation.Autowired

spring-graphql/build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.springframework.boot' version '2.6.2'
2+
id 'org.springframework.boot' version '2.7.0-M1'
33
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
44
id 'java'
55
}
@@ -19,7 +19,7 @@ repositories {
1919

2020
dependencies {
2121
//spring graphql
22-
implementation 'org.springframework.experimental:graphql-spring-boot-starter:1.0.0-SNAPSHOT'
22+
implementation 'org.springframework.boot:spring-boot-starter-graphql'
2323

2424
//Spring Boot
2525
implementation 'org.springframework.boot:spring-boot-starter-web'
@@ -30,12 +30,12 @@ dependencies {
3030

3131
//configure Lombok for compile java/ compile tests
3232
compileOnly 'org.projectlombok:lombok:1.18.22'
33-
annotationProcessor 'org.projectlombok:lombok:1.18.20'
34-
testCompileOnly 'org.projectlombok:lombok:1.18.20'
35-
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
33+
annotationProcessor 'org.projectlombok:lombok:1.18.22'
34+
testCompileOnly 'org.projectlombok:lombok:1.18.22'
35+
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
3636

3737
//test
38-
testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-SNAPSHOT'
38+
testImplementation 'org.springframework.graphql:spring-graphql-test'
3939
testImplementation 'org.springframework.boot:spring-boot-starter-test'
4040
testImplementation 'org.springframework:spring-webflux'
4141
testImplementation 'io.projectreactor:reactor-test'
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-7.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)