Skip to content

Commit b099964

Browse files
committed
Merge branch '6.1.x'
2 parents 70e5af7 + 1e97b21 commit b099964

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gradle/ide.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ eclipse.classpath.file.whenMerged {
6969
}
7070
}
7171

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+
7279
// Remove classpath entries for non-existent libraries added by the me.champeau.mrjar
7380
// plugin, such as "spring-core/build/classes/kotlin/java21".
7481
eclipse.classpath.file.whenMerged {

0 commit comments

Comments
 (0)