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

dependencies {
	compile project(':spring-session-data-redis')
	compile "org.springframework:spring-web"
	compile "org.springframework.security:spring-security-config"
	compile "org.springframework.security:spring-security-web"
	compile "io.lettuce:lettuce-core"
	compile "org.webjars:bootstrap"
	compile "org.webjars:webjars-taglib"
	compile jstlDependencies
	compile slf4jDependencies
	compile "org.testcontainers:testcontainers"

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

	testCompile "org.assertj:assertj-core"
	testCompile "org.springframework:spring-test"
	testCompile "org.junit.jupiter:junit-jupiter-api"
	testRuntime "org.junit.jupiter:junit-jupiter-engine"

	integrationTestCompile seleniumDependencies
}

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