ahmedabu98 commented on code in PR #35981: URL: https://github.com/apache/beam/pull/35981#discussion_r2304643051
########## 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: Ahh thanks! Should I also check that `project.findProperty('testJavaVersion') != '8'` ? -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org