Browse Source

Remove obsolete, custom Eclipse configuration for spring-oxm

See gh-36195

(cherry picked from commit 9b366b28b7)
6.2.x
Sam Brannen 3 days ago
parent
commit
10faa7fdff
  1. 13
      gradle/ide.gradle

13
gradle/ide.gradle

@ -84,19 +84,6 @@ eclipse.classpath.file.whenMerged { @@ -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(

Loading…
Cancel
Save