github-actions[bot] commented on code in PR #41148:
URL: https://github.com/apache/beam/pull/41148#discussion_r4521120780
##########
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.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.0-bin.zip
Review Comment:
**🔴 Critical**: Upgrading `distributionUrl` directly from Gradle `8.14.3` to
`9.9.0` breaks the Apache Beam build (as seen in the failing
`beam_PreCommit_Java_*` CI jobs):
1. **Removed Gradle APIs**: `BeamModulePlugin.groovy`,
`VendorJavaPlugin.groovy`, and multiple module `build.gradle(.kts)` files still
use APIs removed in Gradle 9.0 (`project.archivesBaseName`, `project.exec { ...
}`, `shadowJar.archivePath`, `project.reportsDir`, `mainClassName`, and
`Report.enabled`).
2. **Plugin Incompatibilities**: Current `buildSrc` plugin versions
(`protobuf-gradle-plugin:0.8.13`, `spotbugs-gradle-plugin:5.0.14`,
`checkerframework-gradle-plugin:0.6.56`) and Kotlin `1.6.10` in
`examples/kotlin` fail during configuration under Gradle 9.
3. **Daemon JVM Requirement**: Gradle 9 requires Java 17+ to execute the
daemon, impacting CI workflows that invoke `./gradlew` with `JAVA_HOME` set to
Java 8 or 11.
Please hold off on this upgrade until the Gradle 9 migration in #40556 /
#40810 is completed.
```suggestion
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]