From 79b8296e1c3dd9d92c055b8d0da4bd589987ad3c Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 19 Jun 2017 09:49:50 -0500 Subject: [PATCH] Work Around spring-projects/spring-boot#9573 Issue gh-806 --- .../spring-session-sample-boot-findbyusername.gradle | 2 ++ samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle | 3 +++ .../redis-json/spring-session-sample-boot-redis-json.gradle | 2 ++ samples/boot/redis/spring-session-sample-boot-redis.gradle | 2 ++ .../boot/websocket/spring-session-sample-boot-websocket.gradle | 2 ++ 5 files changed, 11 insertions(+) diff --git a/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle b/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle index 8361f4e6..e55f24c9 100644 --- a/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle +++ b/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle @@ -14,6 +14,8 @@ dependencies { compile "com.maxmind.geoip2:geoip2" compile "org.apache.httpcomponents:httpclient" + compile project(':spring-session-hazelcast') + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.assertj:assertj-core" diff --git a/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle b/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle index e8828118..668e7d09 100644 --- a/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle +++ b/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle @@ -12,6 +12,9 @@ dependencies { compile "org.webjars:webjars-locator" compile "com.h2database:h2" + compile project(':spring-session-hazelcast') + compile project(':spring-session-data-redis') + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.assertj:assertj-core" diff --git a/samples/boot/redis-json/spring-session-sample-boot-redis-json.gradle b/samples/boot/redis-json/spring-session-sample-boot-redis-json.gradle index a56faeb3..a1cfeebb 100644 --- a/samples/boot/redis-json/spring-session-sample-boot-redis-json.gradle +++ b/samples/boot/redis-json/spring-session-sample-boot-redis-json.gradle @@ -15,6 +15,8 @@ dependencies { compile "io.lettuce:lettuce-core" compile "org.apache.httpcomponents:httpclient" + compile project(':spring-session-hazelcast') + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.assertj:assertj-core" testCompile "org.skyscreamer:jsonassert" diff --git a/samples/boot/redis/spring-session-sample-boot-redis.gradle b/samples/boot/redis/spring-session-sample-boot-redis.gradle index f1f8ff38..15becd34 100644 --- a/samples/boot/redis/spring-session-sample-boot-redis.gradle +++ b/samples/boot/redis/spring-session-sample-boot-redis.gradle @@ -11,6 +11,8 @@ dependencies { compile "org.webjars:html5shiv" compile "org.webjars:webjars-locator" + compile project(':spring-session-hazelcast') + testCompile "org.springframework.boot:spring-boot-starter-test" integrationTestCompile seleniumDependencies diff --git a/samples/boot/websocket/spring-session-sample-boot-websocket.gradle b/samples/boot/websocket/spring-session-sample-boot-websocket.gradle index 3ea6baa3..4ab9cbae 100644 --- a/samples/boot/websocket/spring-session-sample-boot-websocket.gradle +++ b/samples/boot/websocket/spring-session-sample-boot-websocket.gradle @@ -23,6 +23,8 @@ dependencies { compile "io.lettuce:lettuce-core" compile "com.h2database:h2" + compile project(':spring-session-hazelcast') + testCompile "org.springframework.boot:spring-boot-starter-test" testCompile "org.springframework.security:spring-security-test" }