This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_5_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_5_0_X by this push:
new fa967b0628 minor refactor: remove some legacy build wiring
fa967b0628 is described below
commit fa967b062877d0f177e91c8d7d14df822a6aa6f6
Author: Paul King <[email protected]>
AuthorDate: Fri Mar 20 08:45:42 2026 +1000
minor refactor: remove some legacy build wiring
---
.../src/main/groovy/org.apache.groovy-core.gradle | 25 ----------------------
1 file changed, 25 deletions(-)
diff --git a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
index f825a59371..f72a9689ba 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
@@ -40,29 +40,12 @@ configurations {
sourceSets {
main {
java {
- if (!JavaVersion.current().isJava9Compatible()) {
- exclude '**/v9/*'
- exclude '**/vm9/*'
- exclude '**/PlatformLog.java'
- }
- if (!JavaVersion.current().isJava10Compatible()) {
- exclude '**/v10/*'
- exclude '**/vm10/*'
- }
if
(!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
exclude '**/v16/*'
exclude '**/vm16/*'
}
}
groovy {
- if (!JavaVersion.current().isJava9Compatible()) {
- exclude '**/v9/*'
- exclude '**/vm9/*'
- }
- if (!JavaVersion.current().isJava10Compatible()) {
- exclude '**/v10/*'
- exclude '**/vm10/*'
- }
if
(!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
exclude '**/v16/*'
exclude '**/vm16/*'
@@ -77,14 +60,6 @@ sourceSets {
}
test {
groovy {
- if (!JavaVersion.current().isJava9Compatible()) {
- exclude '**/v9/*'
- exclude '**/vm9/*'
- }
- if (!JavaVersion.current().isJava10Compatible()) {
- exclude '**/v10/*'
- exclude '**/vm10/*'
- }
if
(!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
exclude '**/v16/*'
exclude '**/vm16/*'