Declare 'com.google.code.findbugs:jsr305' as a 'compileOnly' dependency to avoid Gradle build warnings on missing enumerated types.
This commit is contained in:
@@ -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