From 10faa7fdff0055f3aadafdd428e534bf888551d1 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Sun, 15 Mar 2026 14:30:50 +0100 Subject: [PATCH] Remove obsolete, custom Eclipse configuration for spring-oxm See gh-36195 (cherry picked from commit 9b366b28b7ecfed300847ce09a54085de9d0b97f) --- gradle/ide.gradle | 13 ------------- 1 file changed, 13 deletions(-) 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(