Declare 'com.google.code.findbugs:jsr305' as a 'compileOnly' dependency to avoid Gradle build warnings on missing enumerated types.
This commit is contained in:
@@ -2,6 +2,7 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
|
||||
antlrVersion=2.7.7
|
||||
apacheGeodeVersion=1.13.0
|
||||
apacheTaglibsStandardVersion=1.2.5
|
||||
findbugsVersion=3.0.2
|
||||
# Spring Boot 2.3 sets Apache Groovy version to 2.5.11
|
||||
# https://github.com/spring-projects/spring-boot/blob/v2.3.0.RELEASE/spring-boot-project/spring-boot-dependencies/build.gradle#L365
|
||||
#groovyVersion=2.4.19
|
||||
|
||||
@@ -14,6 +14,8 @@ dependencies {
|
||||
compile "org.springframework.data:spring-data-geode"
|
||||
compile "org.springframework.session:spring-session-core:$springSessionVersion"
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
optional "org.springframework.security:spring-security-core"
|
||||
optional "org.springframework.security:spring-security-web"
|
||||
|
||||
@@ -34,9 +36,13 @@ dependencies {
|
||||
testCompile "org.springframework.data:spring-data-geode-test"
|
||||
testCompile slf4jDependencies
|
||||
|
||||
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
testRuntime "ch.qos.logback:logback-classic"
|
||||
testRuntime "org.apache.logging.log4j:log4j-to-slf4j"
|
||||
|
||||
integrationTestCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
integrationTestRuntime "org.springframework.shell:spring-shell"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user