Browse Source

SEC-2207: Workaround for GRADLE-1116

Rob Winch 12 năm trước cách đây
mục cha
commit
7d9f0d688a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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