github-actions[bot] commented on code in PR #41828: URL: https://github.com/apache/beam/pull/41828#discussion_r4749350270
########## 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.3-bin.zip Review Comment: **🔴 Critical**: Upgrading `distributionUrl` directly from Gradle `8.14.3` to `9.9.3` breaks the build across the repository: 1. **Removed Gradle APIs:** `BeamModulePlugin.groovy` and module build scripts rely on APIs removed in Gradle 9 (e.g., `project.archivesBaseName`, `project.exec`, `archivePath`, `project.reportsDir`). 2. **Plugin Incompatibilities:** Existing plugin versions in `buildSrc/build.gradle.kts` (`protobuf-gradle-plugin:0.8.13`, `spotbugs-gradle-plugin:5.0.14`, etc.) are incompatible with Gradle 9. 3. **Host JVM Requirement:** Gradle 9 requires JDK 17+ to run the daemon, causing immediate failures on JDK 11 CI runners. Please revert to `8.14.3` and close this PR until the Gradle 9 migration (#40556) 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]
