Skip to content

Commit b40375f

Browse files
committed
Pin version to 1.0.0-M5 in samples
This is necessary until Boot catches up with spring-graphql snapshots.
1 parent 5d4065e commit b40375f

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

samples/webflux-security/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group = 'com.example'
66
description = "GraphQL webflux security example"
77
sourceCompatibility = '1.8'
88

9-
ext['spring-graphql.version'] = version
9+
// ext['spring-graphql.version'] = version
1010

1111
repositories {
1212
mavenCentral()
@@ -20,7 +20,10 @@ dependencies {
2020
implementation 'org.springframework.boot:spring-boot-starter-security'
2121
implementation 'org.springframework.boot:spring-boot-starter-actuator'
2222
developmentOnly 'org.springframework.boot:spring-boot-devtools'
23-
testImplementation project(':spring-graphql-test')
23+
24+
// testImplementation project(':spring-graphql-test')
25+
testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5'
26+
2427
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2528
testImplementation 'org.springframework.security:spring-security-test'
2629
}

samples/webflux-websocket/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group = 'com.example'
66
description = "GraphQL over WebSocket With Spring WebFlux Sample"
77
sourceCompatibility = '1.8'
88

9-
ext['spring-graphql.version'] = version
9+
// ext['spring-graphql.version'] = version
1010

1111
repositories {
1212
mavenCentral()
@@ -19,7 +19,10 @@ dependencies {
1919
implementation 'org.springframework.boot:spring-boot-starter-webflux'
2020
implementation 'org.springframework.boot:spring-boot-starter-actuator'
2121
developmentOnly 'org.springframework.boot:spring-boot-devtools'
22-
testImplementation project(':spring-graphql-test')
22+
23+
// testImplementation project(':spring-graphql-test')
24+
testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5'
25+
2326
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2427
testImplementation 'io.projectreactor:reactor-test'
2528
}

samples/webmvc-http-security/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group = 'com.example'
66
description = "Secure GraphQL over HTTP with Spring MVC Sample"
77
sourceCompatibility = '1.8'
88

9-
ext['spring-graphql.version'] = version
9+
// ext['spring-graphql.version'] = version
1010

1111
repositories {
1212
mavenCentral()
@@ -20,7 +20,10 @@ dependencies {
2020
implementation 'org.springframework.boot:spring-boot-starter-security'
2121
implementation 'org.springframework.boot:spring-boot-starter-actuator'
2222
developmentOnly 'org.springframework.boot:spring-boot-devtools'
23-
testImplementation project(':spring-graphql-test')
23+
24+
// testImplementation project(':spring-graphql-test')
25+
testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5'
26+
2427
testImplementation 'org.springframework:spring-webflux'
2528
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2629
}

samples/webmvc-http/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group = 'com.example'
66
description = "GraphQL over HTTP with Spring MVC Sample"
77
sourceCompatibility = '1.8'
88

9-
ext['spring-graphql.version'] = version
9+
// ext['spring-graphql.version'] = version
1010

1111
repositories {
1212
mavenCentral()
@@ -24,7 +24,10 @@ dependencies {
2424
implementation 'com.querydsl:querydsl-jpa'
2525
developmentOnly 'org.springframework.boot:spring-boot-devtools'
2626
runtimeOnly 'com.h2database:h2'
27-
testImplementation project(':spring-graphql-test')
27+
28+
// testImplementation project(':spring-graphql-test')
29+
testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5'
30+
2831
testImplementation 'org.springframework:spring-webflux'
2932
testImplementation 'org.springframework.boot:spring-boot-starter-test'
3033

0 commit comments

Comments
 (0)