github-actions[bot] commented on code in PR #41608:
URL: https://github.com/apache/beam/pull/41608#discussion_r4675552515
##########
buildSrc/build.gradle.kts:
##########
@@ -32,7 +32,7 @@ val useMirror = isCi && !mavenCentralMirrorUrl.isNullOrBlank()
plugins {
`java-gradle-plugin`
groovy
- id("com.diffplug.spotless") version "7.2.1"
+ id("com.diffplug.spotless") version "8.12.0"
Review Comment:
**🔴 Critical**: Spotless 8.x requires Java 17 at runtime
(`org.gradle.jvm.version=17`), which breaks `buildSrc` evaluation on JDK 11 CI
jobs. Additionally, line 67
(`runtimeOnly("com.diffplug.spotless:spotless-plugin-gradle:7.2.1")`) remains
on `7.2.1`. Keep this pinned to `7.2.1` while Gradle builds still run under
Java 11.
```suggestion
id("com.diffplug.spotless") version "7.2.1"
```
--
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]