singhvishalkr opened a new pull request, #11124: URL: https://github.com/apache/gravitino/pull/11124
This PR addresses #7976 by enabling Gravitino to be compiled with JDK 21. The Spotless Gradle plugin version 6.11.0 had an issue when running against JDK 21, which was fixed in version 6.19.0 (see diffplug/spotless#1819). I upgraded the plugin to 6.25.0 (current stable) and updated the JDK version check in build.gradle.kts to allow both JDK 17 and 21. Changes: - Upgraded spotless-plugin from 6.11.0 to 6.25.0 in gradle/libs.versions.toml - Updated the JDK version check in build.gradle.kts to accept VERSION_17 or VERSION_21 Tested locally with JDK 17 (verified existing behavior works). The JDK 21 path now applies the spotless plugin instead of throwing a GradleException. -- 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]
