mananmangal commented on code in PR #38980:
URL: https://github.com/apache/beam/pull/38980#discussion_r3444166083
##########
build.gradle.kts:
##########
@@ -1055,3 +1055,17 @@ if (project.hasProperty("testJavaVersion")) {
}
}
}
+
+// Flink 2.2.1 (FLINK-39139) replaced org.lz4:lz4-java with the fork
at.yawk.lz4:lz4-java,
+// which declares the same 'org.lz4:lz4-java' Gradle capability. Any
subproject that depends
+// on both Flink 2.2+ and another library using org.lz4 (Kafka, Spark, etc.)
hits a capability
+// conflict. This resolution applies globally so that individual subprojects
do not each need
+// to declare it independently.
+allprojects {
Review Comment:
Fixed — moved the capability resolution out of the global `allprojects`
block in `build.gradle.kts`and scoped it to `runners/flink/2.2/build.gradle`
and `runners/flink/2.2/job-server/build.gradle`. The global block has been
removed.
--
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]