We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6387dc commit 6fed79cCopy full SHA for 6fed79c
build.gradle
@@ -661,8 +661,11 @@ configure(rootProject) {
661
apply from: "${gradleScriptDir}/jdiff.gradle"
662
663
eclipse.classpath.file.whenMerged { classpath ->
664
- classpath.entries.add(0, new org.gradle.plugins.ide.eclipse.model.SourceFolder(
665
- "buildSrc/src/main/groovy", null))
+ def sourceFolder = new org.gradle.plugins.ide.eclipse.model.SourceFolder(
+ "buildSrc/src/main/groovy", null)
666
+ if(!classpath.entries.contains(sourceFolder)) {
667
+ classpath.entries.add(0, sourceFolder)
668
+ }
669
}
670
671
reference {
0 commit comments