|
2 | 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle |
3 | 3 |
|
4 | 4 | # Use GitHub Actions CI to verify successful Gradle builds on: |
| 5 | +# - Java 8 (LTS) |
5 | 6 | # - Java 11 (LTS) |
6 | 7 | # - Java 17 (LTS; officially supported since Gradle 7.3) |
7 | | -# - Java 21 (latest LTS; officially supported since Gradle 8.4) |
| 8 | +# - Java 21 (LTS; officially supported since Gradle 8.4) |
| 9 | +# - Java 22 (deprecated; officially supported since Gradle 8.8) |
8 | 10 | # - Java 23 (deprecated; officially supported since Gradle 8.10) |
9 | | -# - Java 24 (current; to be deprecated in September 2025; officially supported since Gradle 8.14) |
10 | | -# - Java 25 (LTS; to be released in September 2025; not officially supported by Gradle) |
| 11 | +# - Java 24 (deprecated; officially supported since Gradle 8.14) |
| 12 | +# - Java 25 (current; latest LTS; partially supported since Gradle 8.14.4) |
| 13 | +# - NOTE: Java 25 will *NOT* be officially (fully) supported in Gradle 8, |
| 14 | +# see https://github.com/gradle/gradle/issues/35111 |
| 15 | +# - NOTE: Java 25 is officially supported since Gradle 9.1, but Gradle 9 is backward incompatible with Gradle 8, |
| 16 | +# and requires Java 17+ to run. In other words, if we switch to Gradle 9, then this project will |
| 17 | +# no longer work with Java 8 and Java 11 |
11 | 18 | # - Java 26 (to be released in March 2026; to be deprecated in September 2026; not officially supported by Gradle) |
12 | 19 | # - Java 27 (to be released in September 2026; to be deprecated in March 2027; not officially supported by Gradle) |
13 | 20 | # - Java 28 (to be released in March 2027; to be deprecated in September 2027; not officially supported by Gradle) |
| 21 | +# - Java 29 (LTS; to be released in September 2027; not officially supported by Gradle) |
| 22 | +# - Java 30 (to be released in March 2028; to be deprecated in September 2028; not officially supported by Gradle) |
14 | 23 |
|
15 | 24 | name: CS321_Cybersecurity CI with Gradle |
16 | 25 |
|
|
27 | 36 |
|
28 | 37 | strategy: |
29 | 38 | matrix: |
30 | | - java: [ '8', '11', '17', '21', '24' ] |
| 39 | + # This project is tested against all supported LTS versions |
| 40 | + # |
| 41 | + # For your team, you can keep only one version (i.e., the one every team member is using locally) |
| 42 | + # in order to reduce the number of minutes used by GitHub Actions |
| 43 | + java: [ '8', '11', '17', '21', '25' ] |
31 | 44 | name: Java version ${{ matrix.Java }} |
32 | 45 |
|
33 | 46 | steps: |
|
0 commit comments