Commit 48e4202
committed
Default to minimum required Java version for Groovy 6
Groovy 6 requires Java 17+. Following the same pattern introduced for
Groovy 5, build.gradle silently defaults to Java 17 when none was specified.
An explicit but incompatible javaVersion still fails loudly.
allVariants and allVariants.bat now include 6.0 in the loop, so
e.g. `allVariants -DjavaVersion=21` works correctly for all variants.1 parent d046002 commit 48e4202
3 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments