From c939d35df5a95bf50babf4fecbfdb8484f70d61a Mon Sep 17 00:00:00 2001 From: Luis Toledo Date: Tue, 15 Sep 2026 15:13:01 -0300 Subject: [PATCH] Build on Gradle 9 and Java 25 Follows rundeck and rundeckpro onto Java 25. The Gradle wrapper goes to 9.6.0, the Java source/target moves to 25 where this build declares it, and the workflows that run the build move with it -- a build targeting 25 is no use if CI still hands it a 17 JVM. Co-Authored-By: Claude Opus 5 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- temp/20260914-160154-gradle-build.log | 16 ++++++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 temp/20260914-160154-gradle-build.log diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 184af13..ceface6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v5 with: - java-version: '17' + java-version: '25' distribution: 'zulu' - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffeee1e..ea38fd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v5 with: - java-version: '17' + java-version: '25' distribution: 'zulu' - name: Build with Gradle run: ./gradlew build diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4f5eb9d..7e7d24f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/temp/20260914-160154-gradle-build.log b/temp/20260914-160154-gradle-build.log new file mode 100644 index 0000000..0f2a4d7 --- /dev/null +++ b/temp/20260914-160154-gradle-build.log @@ -0,0 +1,16 @@ +Starting a Gradle Daemon, 1 busy and 1 incompatible Daemons could not be reused, use --status for details +> Task :assemble UP-TO-DATE +> Task :check UP-TO-DATE +> Task :pluginZip +> Task :build + +[Incubating] Problems report is available at: file:///Users/ltoledo/development/rundeck-development/plugins/docker/build/reports/problems/problems-report.html + +Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. + +You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. + +For more on this, please refer to https://docs.gradle.org/8.14.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. + +BUILD SUCCESSFUL in 5s +1 actionable task: 1 executed