diff --git a/gradle.properties b/gradle.properties index 5289bc3f..17fb8ba4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/spring-geode-actuator-autoconfigure/spring-geode-actuator-autoconfigure.gradle b/spring-geode-actuator-autoconfigure/spring-geode-actuator-autoconfigure.gradle index cd9cdaed..1f73e120 100644 --- a/spring-geode-actuator-autoconfigure/spring-geode-actuator-autoconfigure.gradle +++ b/spring-geode-actuator-autoconfigure/spring-geode-actuator-autoconfigure.gradle @@ -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" diff --git a/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle b/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle index f834e3de..bd6926d9 100644 --- a/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle +++ b/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle @@ -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" diff --git a/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle b/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle index c8113c48..3c1fd933 100644 --- a/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle +++ b/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle @@ -18,6 +18,8 @@ dependencies { testCompile "org.springframework.boot:spring-boot-starter-test" + testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion" + } processResources { diff --git a/spring-geode/spring-geode.gradle b/spring-geode/spring-geode.gradle index 6af9f369..c9082650 100644 --- a/spring-geode/spring-geode.gradle +++ b/spring-geode/spring-geode.gradle @@ -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"