chia7712 commented on code in PR #20295: URL: https://github.com/apache/kafka/pull/20295#discussion_r2251889407
########## build.gradle: ########## @@ -72,6 +72,12 @@ ext { "--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED" ) + if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_24)) { + // Spotbugs is not compatible with Java 24+ until Spotbugs 4.9.4. Disable it until we can upgrade to that version. + project.gradle.startParameter.excludedTaskNames.add("spotbugsMain") Review Comment: > I don't really see a benefit to running Spotbugs in both places? you are right. Could you please also add some comments? Our CI is a bit complex, so it would be helpful for readers to understand the context through you clear comments :) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org