You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces Groovy 6.0.0-alpha-1 to the CI matrix for early compatibility
testing, without including it in published releases.
Adds `additionalVariantsList` to gradle.properties (analogous to
`additionalJavaTestVersionsList`) as a general mechanism for declaring
testing/preview variants. Variants listed there are included in the
build-and-verify CI matrix but never passed to release-spock, so they
cannot appear in any release without any conditional workflow logic.
- gradle.properties: add `additionalVariantsList=6.0`
- libs.versions.toml: add groovy6 version pin and library alias for Renovate
- build.gradle: add variant==6.0 config block (org.apache.groovy, Java 17+);
update ghActionsPublish Java guard to accept Java 17 for variant 6.0
- common.main.kts: expand Matrix.full to include additionalVariants; add
Java 17 minimum exclusion for 6.0; rewrite exclude lambda with `when`;
update Windows/macOS includes to use Java 17 for 6.0
- release.main.kts: release-spock uses only axes.variants — no changes
needed since additional variants are simply absent from the publish matrix
thrownewIllegalArgumentException("ghActionsPublish can only be run on Java ${javaVersions.min()} (or 11 for variant 5.0, 17 for variant 6.0) but was run on $javaVersion")
243
251
}
244
252
/*
245
253
We want to release only snapshots directly from master, final releases will be tagged and then published from that tag.
0 commit comments