plugins { id "org.gretty" version "3.0.7" 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 "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api" implementation "org.apache.taglibs:taglibs-standard-jstlel" 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" 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 = 'tomcat9' logbackConfigFile = "src/main/resources/logback.xml" }