We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70e5af7 + 1e97b21 commit b099964Copy full SHA for b099964
gradle/ide.gradle
@@ -69,6 +69,13 @@ eclipse.classpath.file.whenMerged {
69
}
70
71
72
+// Remove Java 21 classpath entries, since we currently use Java 17
73
+// within Eclipse. Consequently, Java 21 features managed via the
74
+// me.champeau.mrjar plugin cannot be built or tested within Eclipse.
75
+eclipse.classpath.file.whenMerged { classpath ->
76
+ classpath.entries.removeAll { it.path =~ /src\/(main|test)\/java21/ }
77
+}
78
+
79
// Remove classpath entries for non-existent libraries added by the me.champeau.mrjar
80
// plugin, such as "spring-core/build/classes/kotlin/java21".
81
eclipse.classpath.file.whenMerged {
0 commit comments