From 1dc64b29147f2ef2cd2605b5b48fb441cf467718 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Fri, 19 Nov 2010 04:10:18 -0700 Subject: [PATCH] Eliminate "bad path element" warnings from build output (GRADLE-6) --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a649a02a37..fc4ff58556 100644 --- a/build.gradle +++ b/build.gradle @@ -145,8 +145,8 @@ configure(javaprojects) { testCompile "org.springframework:spring-test:$springVersion" } - // enable all compiler warnings (GRADLE-1077) - [compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:all'] + // enable all compiler warnings (GRADLE-1077); eliminate path warnings + [compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:all,-path'] // generate .classpath files without GRADLE_CACHE variable (GRADLE-1079) eclipseClasspath.variables = [:]