Declare 'com.google.code.findbugs:jsr305' as a compileOnly/testCompileOnly depedency to cleanup Gradle build warnings.
Without this dependency the Gradle build logs warnings about: > Task :spring-geode-autoconfigure:compileTestJava warning: unknown enum constant When.MAYBE reason: class file for javax.annotation.meta.When not found ...
This commit is contained in:
@@ -2,6 +2,7 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
|
||||
antlrVersion=2.7.7
|
||||
apacheGeodeVersion=1.12.0
|
||||
byteBuddyVersion=1.10.11
|
||||
findbugsVersion=3.0.2
|
||||
mockitoVersion=3.3.3
|
||||
multithreadedtcVersion=1.01
|
||||
pivotalGemFireVersion=9.10.0
|
||||
|
||||
@@ -8,6 +8,8 @@ dependencies {
|
||||
compile project(":spring-geode-actuator")
|
||||
compile project(":spring-geode-autoconfigure")
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
testCompile "junit:junit"
|
||||
testCompile "org.assertj:assertj-core"
|
||||
testCompile "org.mockito:mockito-core"
|
||||
|
||||
@@ -11,6 +11,8 @@ dependencies {
|
||||
|
||||
compile project(":spring-geode")
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
optional project(':apache-geode-extensions')
|
||||
|
||||
optional "org.springframework.boot:spring-boot-autoconfigure-processor"
|
||||
@@ -34,6 +36,8 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-core"
|
||||
}
|
||||
|
||||
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
testRuntime "javax.cache:cache-api"
|
||||
testRuntime "org.apache.geode:geode-http-service:$apacheGeodeVersion"
|
||||
testRuntime "org.apache.geode:geode-web:$apacheGeodeVersion"
|
||||
|
||||
@@ -18,6 +18,8 @@ dependencies {
|
||||
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test"
|
||||
|
||||
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
||||
@@ -20,6 +20,8 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-core"
|
||||
}
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
optional "org.springframework:spring-test"
|
||||
|
||||
testCompile "junit:junit"
|
||||
|
||||
Reference in New Issue
Block a user