apply plugin: 'io.spring.convention.spring-sample-war'

dependencies {
	compile project(':spring-session-data-redis')
	compile "io.lettuce:lettuce-core"
	compile "org.springframework:spring-webmvc"
	compile "org.springframework.security:spring-security-config"
	compile "org.springframework.security:spring-security-web"
	compile "com.fasterxml.jackson.core:jackson-databind"
	compile jstlDependencies
	compile slf4jDependencies
	compile "org.testcontainers:testcontainers"

	providedCompile "javax.servlet:javax.servlet-api"

	testCompile "junit:junit"
	testCompile "org.springframework.security:spring-security-test"
	testCompile "org.assertj:assertj-core"
	testCompile "org.springframework:spring-test"
}

gretty {
	jvmArgs = ['-Dspring.profiles.active=embedded-redis']
}
