Work around reported problem in eclipse (#31960)
The Gradle plugin https://docs.gradle.org/current/userguide/java_gradle_plugin.html added recently adds a folder to the CP, which is not created for the eclipse import, ausing eclipse to complain.
This commit is contained in:
parent
ba3c0f2478
commit
eb8c82a66b
|
@ -435,6 +435,9 @@ allprojects {
|
|||
if (isEclipse) {
|
||||
// set this so generated dirs will be relative to eclipse build
|
||||
project.buildDir = eclipseBuild
|
||||
// Work around https://docs.gradle.org/current/userguide/java_gradle_plugin.html confusing Eclipse by the metadata
|
||||
// it adds to the classpath
|
||||
project.file("$buildDir/pluginUnderTestMetadata").mkdirs()
|
||||
}
|
||||
eclipse.classpath.file.whenMerged { classpath ->
|
||||
// give each source folder a unique corresponding output folder
|
||||
|
|
Loading…
Reference in New Issue