Skip to content

Commit 0cd8e54

Browse files
committed
Update to Gradle 8.14.4 which partially supports Java 25, using:
$ ./gradlew wrapper --gradle-version=8.14.4
1 parent b803fef commit 0cd8e54

6 files changed

Lines changed: 26 additions & 13 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,24 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
33

44
# Use GitHub Actions CI to verify successful Gradle builds on:
5+
# - Java 8 (LTS)
56
# - Java 11 (LTS)
67
# - 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)
810
# - 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
1118
# - Java 26 (to be released in March 2026; to be deprecated in September 2026; not officially supported by Gradle)
1219
# - Java 27 (to be released in September 2026; to be deprecated in March 2027; not officially supported by Gradle)
1320
# - 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)
1423

1524
name: CS321_Cybersecurity CI with Gradle
1625

@@ -27,7 +36,11 @@ jobs:
2736

2837
strategy:
2938
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' ]
3144
name: Java version ${{ matrix.Java }}
3245

3346
steps:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,14 @@ Use the following command to check our installed JDK version:
4747
$ javac -version
4848
```
4949

50-
This project **does not work** with JDK 25 (to be released in September 2025).
50+
This project **does not work** with JDK 26 (to be released in March 2026).
5151

5252
It is recommended to use any of the following versions:
5353
- JDK 8 (LTS)
5454
- JDK 11 (LTS)
5555
- JDK 17 (LTS)
5656
- JDK 21 (LTS)
57+
- JDK 25 (LTS)
5758

5859
:book: See this [wiki page for additional details regarding the
5960
supported Java versions and links to download the correct JDK

gradle/wrapper/gradle-wrapper.jar

181 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)