plugins { id "org.gretty" version "4.0.0" id "io.spring.convention.spring-sample-war" } dependencies { implementation project(':spring-session-data-redis') implementation "io.lettuce:lettuce-core" implementation "org.springframework:spring-webmvc" implementation "org.springframework.security:spring-security-config" implementation "org.springframework.security:spring-security-web" implementation "com.fasterxml.jackson.core:jackson-databind" implementation "org.slf4j:slf4j-api" implementation "org.slf4j:jcl-over-slf4j" implementation "org.slf4j:log4j-over-slf4j" implementation "ch.qos.logback:logback-classic" implementation "org.testcontainers:testcontainers" providedCompile "jakarta.servlet:jakarta.servlet-api:6.0.0" testImplementation "org.springframework.security:spring-security-test" testImplementation "org.assertj:assertj-core" testImplementation "org.springframework:spring-test" testImplementation "org.junit.jupiter:junit-jupiter-api" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" } gretty { jvmArgs = ['-Dspring.profiles.active=embedded-redis'] servletContainer = 'tomcat10' }