From 6bee17e2facaade714e8e858c315ae366145a1b2 Mon Sep 17 00:00:00 2001 From: Daniel Tang Date: Thu, 18 Jan 2018 10:08:57 -0800 Subject: [PATCH] mark servlet API dependency compileOnly --- endpoints-framework/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints-framework/build.gradle b/endpoints-framework/build.gradle index c3a77ffe..3b52c1da 100644 --- a/endpoints-framework/build.gradle +++ b/endpoints-framework/build.gradle @@ -80,7 +80,6 @@ dependencies { // leading to test failures. transitive = false } - compile group: 'javax.servlet', name: 'servlet-api', version: servletVersion compile group: 'com.google.guava', name: 'guava', version: guavaVersion compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: jacksonVersion compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: jacksonVersion @@ -101,6 +100,7 @@ dependencies { compile group: 'io.swagger', name: 'swagger-core', version: swaggerVersion compile group: 'org.slf4j', name: 'slf4j-nop', version: slf4jVersion + compileOnly group: 'javax.servlet', name: 'servlet-api', version: servletVersion compileOnly "com.google.auto.value:auto-value:1.2" apt "com.google.auto.value:auto-value:1.2"