Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Every ./gradlew command, in CI and locally, will fail at configuration on Gradle 9.8.2. Today on 8.10.2 the same build only warns. build.gradle:13-14 sets top-level sourceCompatibility/targetCompatibility on the project. That project-level convention property was deprecated in Gradle 8 and removed in Gradle 9. Fix: move both into java { sourceCompatibility = JavaVersion.VERSION_1_8; targetCompatibility = JavaVersion.VERSION_1_8 } in build.gradle in this PR, keeping the Java 8 bytecode floor. Also confirm com.vanniktech.maven.publish 0.30.0 works on Gradle 9.

Why this was flagged

The trigger is any wrapper invocation after merge, such as ./gradlew build in push.yml or ./gradlew test for the required Unit Tests check. Line 3 switches distributionUrl to gradle-9.8.2-bin.zip. build.gradle:13 sourceCompatibility = JavaVersion.VERSION_1_8 and build.gradle:14 targetCompatibility = JavaVersion.VERSION_1_8 assign project-level properties that came from the Convention API (JavaPluginConvention). Gradle 8.x only logged a deprecation warning for them, and Gradle 9.0 removed them. Groovy DSL then throws "Could not set unknown property 'sourceCompatibility' for root project". On the base branch (8.10.2) the build succeeds. After merge, build, test, and the release-draft/release-publish workflows fail before any task runs, so releases are blocked. Because this Dependabot PR changes only wrapper files, nothing in build.gradle was updated to compensate.

Verification: The diff changes gradle-wrapper.properties line 3 to gradle-9.8.2-bin.zip, while build.gradle lines 13-14 still set top-level sourceCompatibility and targetCompatibility. Gradle 9.0 removed the Convention API they rely on, so every ./gradlew run fails at configuration. On the base (8.10.2) the same lines only log a deprecation warning, so this is a regression this PR introduces.

networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
18 changes: 7 additions & 11 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 52 additions & 34 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading