Improve dependency management

This commit improves dependency management with the following changes:

 - `spring-session-core`: move `javax.servlet-api` from `provided` to `optional` configuration due to introduction of reactive support
 - `spring-session-data-redis`: remove Redis driver from `compile` configuration
 - Boot samples: delegate Redis driver choice to `spring-boot-starter-data-redis`
 - polish `test` configuration dependencies
This commit is contained in:
Vedran Pavic
2017-07-06 23:53:19 +02:00
committed by Rob Winch
parent 7c6693a268
commit 5845a9c46a
9 changed files with 15 additions and 16 deletions

View File

@@ -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"
}