Abacn commented on code in PR #35981:
URL: https://github.com/apache/beam/pull/35981#discussion_r2304818873
##########
examples/java/build.gradle:
##########
@@ -64,15 +64,18 @@ dependencies {
// but needed for compile only under Java21, specifically, required for
extending from AbstractKafkaAvroDeserializer
compileOnly library.java.kafka
}
+ if (JavaVersion.current().compareTo(JavaVersion.VERSION_11) >= 0) {
Review Comment:
This could help for Beam CI test, but not affect published artifacts (they
still get the dependency regardless of Java version), and Beam jars still does
not compile as long as bytecode version is set to 8 (see the failed tests below)
--
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]