瀏覽代碼

SEC-2207: Workaround for GRADLE-1116

Rob Winch 12 年之前
父節點
當前提交
7d9f0d688a
共有 1 個文件被更改,包括 3 次插入0 次删除
  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