Browse Source

SEC-2207: Workaround for GRADLE-1116

Rob Winch 12 years ago
parent
commit
7d9f0d688a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      gradle/ide-integration.gradle

+ 3 - 0
gradle/ide-integration.gradle

@@ -10,7 +10,10 @@ configure(javaProjects) {
 
     // GRADLE-1116
     project.eclipse.classpath.file.whenMerged { classpath ->
+        classpath.entries.removeAll { entry -> entry.path.endsWith('/build/resources/test') }
         classpath.entries.removeAll { entry -> entry.path.endsWith('/build/classes/test') }
+        classpath.entries.removeAll { entry -> entry.path.endsWith('/build/resources/main') }
+        classpath.entries.removeAll { entry -> entry.path.endsWith('/build/classes/main') }
     }
 
     // GRADLE-1422