Replace Javax Servlet JSP JSTL dependencies with Jakarta Servlet JSP JSTL dependencies and Apache Standard Taglibs.
78 lines
2.4 KiB
Groovy
78 lines
2.4 KiB
Groovy
plugins {
|
|
id "io.freefair.lombok" version "5.3.0"
|
|
}
|
|
|
|
apply plugin: 'io.spring.convention.spring-module'
|
|
apply from: MAVEN_POM_EDITOR_GRADLE
|
|
|
|
description = "Spring Session for Apache Geode"
|
|
|
|
dependencies {
|
|
|
|
compile "org.springframework:spring-context-support"
|
|
compile "org.springframework:spring-jcl"
|
|
compile "org.springframework.data:spring-data-geode"
|
|
compile "org.springframework.session:spring-session-core"
|
|
compile slf4jDependencies
|
|
|
|
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
|
|
|
optional "org.springframework.security:spring-security-core"
|
|
optional "org.springframework.security:spring-security-web"
|
|
|
|
provided "jakarta.servlet:jakarta.servlet-api"
|
|
|
|
// TODO: Remove dependency declarations when all internal Apache Geode API usage is removed; Only required by test,
|
|
// and specifically, the GemFireUtilsTests! :P
|
|
provided "org.apache.geode:geode-logging:$apacheGeodeVersion"
|
|
provided "org.apache.geode:geode-serialization:$apacheGeodeVersion" // Need for Geode Serialization
|
|
|
|
testCompile "org.assertj:assertj-core"
|
|
testCompile "junit:junit"
|
|
testCompile "org.mockito:mockito-core"
|
|
testCompile "edu.umd.cs.mtc:multithreadedtc"
|
|
testCompile "org.springframework:spring-test"
|
|
testCompile "org.springframework:spring-web"
|
|
testCompile "org.springframework.data:spring-data-geode-test"
|
|
|
|
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
|
|
|
testRuntime "ch.qos.logback:logback-classic"
|
|
testRuntime "org.apache.logging.log4j:log4j-to-slf4j"
|
|
|
|
integrationTestCompile "com.google.code.findbugs:jsr305:$findbugsVersion"
|
|
|
|
integrationTestRuntime "org.springframework.shell:spring-shell"
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
maxHeapSize = project.hasProperty("test.jvm.heap.max-size")
|
|
? project.getProperty("test.jvm.heap.max-size")
|
|
: "512m"
|
|
|
|
minHeapSize = project.hasProperty("test.jvm.heap.min-size")
|
|
? project.getProperty("test.jvm.heap.min-size")
|
|
: "512m"
|
|
|
|
}
|
|
|
|
integrationTest {
|
|
|
|
maxHeapSize = project.hasProperty("test.jvm.heap.max-size")
|
|
? project.getProperty("test.jvm.heap.max-size")
|
|
: "2g"
|
|
|
|
minHeapSize = project.hasProperty("test.jvm.heap.min-size")
|
|
? project.getProperty("test.jvm.heap.min-size")
|
|
: "512m"
|
|
|
|
def gradleProjectPropertyLogbackLogLevel = project.hasProperty("logback.log.level")
|
|
? project.getProperty("logback.log.level")
|
|
: "ERROR"
|
|
|
|
systemProperty "logback.log.level", System.getProperty("logback.log.level", gradleProjectPropertyLogbackLogLevel)
|
|
|
|
}
|