From 977f7a38f6ece1a653178fd8789457c01c345432 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 12 Feb 2020 13:18:45 -0800 Subject: [PATCH] Move guava dependency to testCompile, to prevent it polluting the classpath of projects using graphql-java-servlet --- graphql-java-servlet/build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/graphql-java-servlet/build.gradle b/graphql-java-servlet/build.gradle index b7bd4fc6..c50fe2cd 100644 --- a/graphql-java-servlet/build.gradle +++ b/graphql-java-servlet/build.gradle @@ -16,9 +16,6 @@ jar { dependencies { api(project(':graphql-java-kickstart')) - // Useful utilities - compile 'com.google.guava:guava:24.1.1-jre' - // Servlet compile 'javax.servlet:javax.servlet-api:3.1.0' compile 'javax.websocket:javax.websocket-api:1.1' @@ -39,4 +36,5 @@ dependencies { testCompile 'org.slf4j:slf4j-simple:1.7.24' testCompile 'org.springframework:spring-test:4.3.7.RELEASE' testRuntime 'org.springframework:spring-web:4.3.7.RELEASE' -} + testCompile 'com.google.guava:guava:24.1.1-jre' +} \ No newline at end of file