nastra commented on code in PR #10474:
URL: https://github.com/apache/iceberg/pull/10474#discussion_r1673871100


##########
baseline.gradle:
##########
@@ -46,7 +46,13 @@ subprojects {
   apply plugin: 'com.palantir.baseline-exact-dependencies'
   apply plugin: 'com.palantir.baseline-release-compatibility'
   // We need to update Google Java Format to 1.17.0+ to run spotless on JDK 8, 
but that requires dropping support for JDK 8.
-  if (JavaVersion.current() != JavaVersion.VERSION_21) {
+  if (JavaVersion.current() == JavaVersion.VERSION_21) {
+    task spotlessApply {
+      doLast {
+        throw new GradleException("Spotless plugin is currently disabled when 
running on JDK 21 (until we drop JDK 8). To run spotlessApply please use a 
different JDK version.")

Review Comment:
   thanks for adding that msg, that's going to be helpful



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to