diff --git a/gradle/ide.gradle b/gradle/ide.gradle index 36a5c02951d..68990d9aa0e 100644 --- a/gradle/ide.gradle +++ b/gradle/ide.gradle @@ -84,19 +84,6 @@ eclipse.classpath.file.whenMerged { } } -// Due to an apparent bug in Gradle, even though we exclude the "main" classpath -// entries for sources generated by XJC in spring-oxm.gradle, the Gradle eclipse -// plugin still includes them in the generated .classpath file. So, we have to -// manually remove those lingering "main" entries. -if (project.name == "spring-oxm") { - eclipse.classpath.file.whenMerged { classpath -> - classpath.entries.removeAll { - it.path =~ /build\/generated\/sources\/xjc\/.+/ && - it.entryAttributes.get("gradle_scope") == "main" - } - } -} - // Include project specific settings tasks.register('eclipseSettings', Copy) { from rootProject.files(