diff --git a/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle b/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle index e55f24c9..94ee8163 100644 --- a/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle +++ b/samples/boot/findbyusername/spring-session-sample-boot-findbyusername.gradle @@ -5,6 +5,7 @@ dependencies { compile "org.springframework.boot:spring-boot-starter-web" compile "org.springframework.boot:spring-boot-starter-thymeleaf" compile "org.springframework.boot:spring-boot-starter-security" + compile "org.springframework.boot:spring-boot-starter-data-redis" compile "org.springframework.boot:spring-boot-devtools" compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect" compile "org.thymeleaf.extras:thymeleaf-extras-java8time" diff --git a/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle b/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle index 668e7d09..c76fc87e 100644 --- a/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle +++ b/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle @@ -14,6 +14,7 @@ dependencies { compile project(':spring-session-hazelcast') compile project(':spring-session-data-redis') + compile "org.springframework.boot:spring-boot-starter-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 a1cfeebb..ee7bc0b4 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 @@ -1,18 +1,16 @@ apply plugin: 'io.spring.convention.spring-sample-boot' dependencies { - compile(project(':spring-session-data-redis')) { - exclude module: 'jedis' - } + compile project(':spring-session-data-redis') compile "org.springframework.boot:spring-boot-starter-web" compile "org.springframework.boot:spring-boot-starter-thymeleaf" compile "org.springframework.boot:spring-boot-starter-security" + compile "org.springframework.boot:spring-boot-starter-data-redis" compile "org.springframework.boot:spring-boot-devtools" compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect" compile "org.webjars:bootstrap" compile "org.webjars:html5shiv" compile "org.webjars:webjars-locator" - compile "io.lettuce:lettuce-core" compile "org.apache.httpcomponents:httpclient" compile project(':spring-session-hazelcast') diff --git a/samples/boot/redis/spring-session-sample-boot-redis.gradle b/samples/boot/redis/spring-session-sample-boot-redis.gradle index 15becd34..c83e5254 100644 --- a/samples/boot/redis/spring-session-sample-boot-redis.gradle +++ b/samples/boot/redis/spring-session-sample-boot-redis.gradle @@ -5,6 +5,7 @@ dependencies { compile "org.springframework.boot:spring-boot-starter-web" compile "org.springframework.boot:spring-boot-starter-thymeleaf" compile "org.springframework.boot:spring-boot-starter-security" + compile "org.springframework.boot:spring-boot-starter-data-redis" compile "org.springframework.boot:spring-boot-devtools" compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect" compile "org.webjars:bootstrap" diff --git a/samples/boot/websocket/spring-session-sample-boot-websocket.gradle b/samples/boot/websocket/spring-session-sample-boot-websocket.gradle index 4ab9cbae..63989ea8 100644 --- a/samples/boot/websocket/spring-session-sample-boot-websocket.gradle +++ b/samples/boot/websocket/spring-session-sample-boot-websocket.gradle @@ -1,13 +1,12 @@ apply plugin: 'io.spring.convention.spring-sample-boot' dependencies { - compile(project(':spring-session-data-redis')) { - exclude module: 'jedis' - } + compile project(':spring-session-data-redis') compile "org.springframework.boot:spring-boot-starter-web" compile "org.springframework.boot:spring-boot-starter-thymeleaf" compile "org.springframework.boot:spring-boot-starter-security" compile "org.springframework.boot:spring-boot-starter-data-jpa" + compile "org.springframework.boot:spring-boot-starter-data-redis" compile "org.springframework.boot:spring-boot-starter-websocket" compile "org.springframework.boot:spring-boot-devtools" compile "org.springframework:spring-websocket" @@ -20,7 +19,6 @@ dependencies { compile "org.webjars:sockjs-client" compile "org.webjars:stomp-websocket" compile "org.webjars:webjars-locator" - compile "io.lettuce:lettuce-core" compile "com.h2database:h2" compile project(':spring-session-hazelcast') diff --git a/spring-session-core/spring-session-core.gradle b/spring-session-core/spring-session-core.gradle index b0ed7dfd..e7413ce9 100644 --- a/spring-session-core/spring-session-core.gradle +++ b/spring-session-core/spring-session-core.gradle @@ -6,6 +6,7 @@ dependencies { compile "org.springframework:spring-jcl" optional "io.projectreactor:reactor-core" + optional "javax.servlet:javax.servlet-api" optional "org.springframework:spring-context" optional "org.springframework:spring-jdbc" optional "org.springframework:spring-messaging" @@ -14,8 +15,6 @@ dependencies { optional "org.springframework.security:spring-security-core" optional "org.springframework.security:spring-security-web" - provided "javax.servlet:javax.servlet-api" - testCompile "junit:junit" testCompile "org.mockito:mockito-core" testCompile "edu.umd.cs.mtc:multithreadedtc" diff --git a/spring-session-data-redis/spring-session-data-redis.gradle b/spring-session-data-redis/spring-session-data-redis.gradle index 45046272..cf3e9b09 100644 --- a/spring-session-data-redis/spring-session-data-redis.gradle +++ b/spring-session-data-redis/spring-session-data-redis.gradle @@ -8,10 +8,11 @@ dependencies { exclude group: "org.slf4j", module: 'slf4j-api' exclude group: "org.slf4j", module: 'jcl-over-slf4j' } - compile "redis.clients:jedis" - compile "org.apache.commons:commons-pool2" testCompile "javax.servlet:javax.servlet-api" + testCompile "org.springframework:spring-web" testCompile "org.springframework.security:spring-security-core" - testCompile "org.springframework.security:spring-security-web" + + integrationTestCompile "redis.clients:jedis" + integrationTestCompile "org.apache.commons:commons-pool2" } diff --git a/spring-session-hazelcast/spring-session-hazelcast.gradle b/spring-session-hazelcast/spring-session-hazelcast.gradle index c9acbfdc..8e036f01 100644 --- a/spring-session-hazelcast/spring-session-hazelcast.gradle +++ b/spring-session-hazelcast/spring-session-hazelcast.gradle @@ -6,8 +6,8 @@ dependencies { compile "org.springframework:spring-context" testCompile "javax.servlet:javax.servlet-api" - testCompile "org.springframework.security:spring-security-core" testCompile "org.springframework:spring-web" + testCompile "org.springframework.security:spring-security-core" integrationTestCompile "com.hazelcast:hazelcast-client" -} \ No newline at end of file +} diff --git a/spring-session-jdbc/spring-session-jdbc.gradle b/spring-session-jdbc/spring-session-jdbc.gradle index dad03705..7f1cdffb 100644 --- a/spring-session-jdbc/spring-session-jdbc.gradle +++ b/spring-session-jdbc/spring-session-jdbc.gradle @@ -8,8 +8,8 @@ dependencies { compile "org.springframework:spring-jdbc" testCompile "javax.servlet:javax.servlet-api" + testCompile "org.springframework:spring-web" testCompile "org.springframework.security:spring-security-core" - testCompile "org.springframework.security:spring-security-web" integrationTestCompile "org.apache.derby:derby" integrationTestCompile "com.h2database:h2"