File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder
31
31
import org.gradle.util.DistributionLocator
32
32
import org.gradle.util.GradleVersion
33
33
import static org.elasticsearch.gradle.util.GradleUtils.maybeConfigure
34
+ import org.gradle.plugins.ide.eclipse.model.ProjectDependency
34
35
35
36
plugins {
36
37
id ' lifecycle-base'
@@ -338,6 +339,17 @@ allprojects {
338
339
i++ ;
339
340
folder. output = " build-eclipse/" + i
340
341
}
342
+
343
+ // Starting with Gradle 6.7 test dependencies are not exposed by eclipse
344
+ // projects by default. This breaks project dependencies using the `java-test-fixtures` plugin
345
+ // or dependencies on other projects manually declared testArtifacts configurations
346
+ // This issue is tracked in gradle issue tracker.
347
+ // See https://github.com/gradle/gradle/issues/14932 for further details
348
+ classpath. entries. findAll {
349
+ it instanceof ProjectDependency
350
+ }. each {
351
+ it. entryAttributes. remove(' without_test_code' )
352
+ }
341
353
}
342
354
}
343
355
/*
You can’t perform that action at this time.
0 commit comments