From 0c808de97c83bae781fc484e45aee9ed591fde64 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 17 Nov 2021 13:20:46 -0800 Subject: [PATCH] Reduce test (compile/implementation) dependencies and rely on the 'testDependencies' Gradle build extension. Re-add the Google Code FindBugs dependency to the test compile classpath to remove the Java annotation (When) warnings. --- .../spring-session-data-geode.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spring-session-data-geode/spring-session-data-geode.gradle b/spring-session-data-geode/spring-session-data-geode.gradle index de4108f..989b3ec 100644 --- a/spring-session-data-geode/spring-session-data-geode.gradle +++ b/spring-session-data-geode/spring-session-data-geode.gradle @@ -29,13 +29,9 @@ dependencies { provided "org.apache.geode:geode-logging:$apacheGeodeVersion" provided "org.apache.geode:geode-serialization:$apacheGeodeVersion" // Need for Geode Serialization - testImplementation "org.assertj:assertj-core" - testImplementation "junit:junit" - testImplementation "org.mockito:mockito-core" - testImplementation "edu.umd.cs.mtc:multithreadedtc" - testImplementation "org.springframework:spring-test" + testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion" + testImplementation "org.springframework:spring-web" - testImplementation "org.springframework.data:spring-data-geode-test" testRuntime "ch.qos.logback:logback-classic" testRuntime "org.apache.logging.log4j:log4j-to-slf4j"