From b40375f1f2bffd2dade33653288b5027dcdc99ab Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Mon, 7 Mar 2022 09:47:10 +0000 Subject: [PATCH] Pin version to 1.0.0-M5 in samples This is necessary until Boot catches up with spring-graphql snapshots. --- samples/webflux-security/build.gradle | 7 +++++-- samples/webflux-websocket/build.gradle | 7 +++++-- samples/webmvc-http-security/build.gradle | 7 +++++-- samples/webmvc-http/build.gradle | 7 +++++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/samples/webflux-security/build.gradle b/samples/webflux-security/build.gradle index be7d2356..8a0d2f9c 100644 --- a/samples/webflux-security/build.gradle +++ b/samples/webflux-security/build.gradle @@ -6,7 +6,7 @@ group = 'com.example' description = "GraphQL webflux security example" sourceCompatibility = '1.8' -ext['spring-graphql.version'] = version +// ext['spring-graphql.version'] = version repositories { mavenCentral() @@ -20,7 +20,10 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-actuator' developmentOnly 'org.springframework.boot:spring-boot-devtools' - testImplementation project(':spring-graphql-test') + +// testImplementation project(':spring-graphql-test') + testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5' + testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' } diff --git a/samples/webflux-websocket/build.gradle b/samples/webflux-websocket/build.gradle index ec04568c..2a943b2f 100644 --- a/samples/webflux-websocket/build.gradle +++ b/samples/webflux-websocket/build.gradle @@ -6,7 +6,7 @@ group = 'com.example' description = "GraphQL over WebSocket With Spring WebFlux Sample" sourceCompatibility = '1.8' -ext['spring-graphql.version'] = version +// ext['spring-graphql.version'] = version repositories { mavenCentral() @@ -19,7 +19,10 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-webflux' implementation 'org.springframework.boot:spring-boot-starter-actuator' developmentOnly 'org.springframework.boot:spring-boot-devtools' - testImplementation project(':spring-graphql-test') + +// testImplementation project(':spring-graphql-test') + testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5' + testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'io.projectreactor:reactor-test' } diff --git a/samples/webmvc-http-security/build.gradle b/samples/webmvc-http-security/build.gradle index 4ba1d23f..caeea788 100644 --- a/samples/webmvc-http-security/build.gradle +++ b/samples/webmvc-http-security/build.gradle @@ -6,7 +6,7 @@ group = 'com.example' description = "Secure GraphQL over HTTP with Spring MVC Sample" sourceCompatibility = '1.8' -ext['spring-graphql.version'] = version +// ext['spring-graphql.version'] = version repositories { mavenCentral() @@ -20,7 +20,10 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-actuator' developmentOnly 'org.springframework.boot:spring-boot-devtools' - testImplementation project(':spring-graphql-test') + +// testImplementation project(':spring-graphql-test') + testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5' + testImplementation 'org.springframework:spring-webflux' testImplementation 'org.springframework.boot:spring-boot-starter-test' } diff --git a/samples/webmvc-http/build.gradle b/samples/webmvc-http/build.gradle index fde4f48f..c362df76 100644 --- a/samples/webmvc-http/build.gradle +++ b/samples/webmvc-http/build.gradle @@ -6,7 +6,7 @@ group = 'com.example' description = "GraphQL over HTTP with Spring MVC Sample" sourceCompatibility = '1.8' -ext['spring-graphql.version'] = version +// ext['spring-graphql.version'] = version repositories { mavenCentral() @@ -24,7 +24,10 @@ dependencies { implementation 'com.querydsl:querydsl-jpa' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'com.h2database:h2' - testImplementation project(':spring-graphql-test') + +// testImplementation project(':spring-graphql-test') + testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-M5' + testImplementation 'org.springframework:spring-webflux' testImplementation 'org.springframework.boot:spring-boot-starter-test'