Update Boot sample to use Redis Starter

Fixes gh-125
This commit is contained in:
Rob Winch
2015-04-03 13:15:23 -05:00
parent eddb10d52c
commit d3ab764c76
2 changed files with 7 additions and 3 deletions

View File

@@ -20,9 +20,12 @@ If you are using Maven, ensure to add the following dependencies:
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<artifactId>spring-session</artifactId>
<version>{spring-session-version}</version>
<type>pom<type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-redis</artifactId>
</dependency>
</dependencies>
----

View File

@@ -16,7 +16,8 @@ tasks.findByPath("artifactoryPublish")?.enabled = false
group = 'samples'
dependencies {
compile project(':spring-session-data-redis'),
compile project(':spring-session'),
"org.springframework.boot:spring-boot-starter-redis",
"org.springframework.boot:spring-boot-starter-web",
"org.springframework.boot:spring-boot-starter-thymeleaf",
"redis.embedded:embedded-redis:$embeddedRedisVersion",