slfan1989 commented on code in PR #14941:
URL: https://github.com/apache/iceberg/pull/14941#discussion_r2781638785
##########
build.gradle:
##########
@@ -1229,3 +1232,19 @@ project(':iceberg-bom') {
// Needed to get the "faked" Scala artifacts into the bom
javaPlatform { allowDependencies() }
}
+
+subprojects {
+ if (project.name.startsWith('iceberg-spark') ||
+ project.name.startsWith('iceberg-flink') ||
+ project.name.startsWith('iceberg-delta-lake') ||
+ project.name.startsWith('iceberg-kafka-connect')) {
+
+ configurations.all {
+ exclude group: 'org.lz4', module: 'lz4-java'
+
resolutionStrategy.capabilitiesResolution.withCapability("org.lz4:lz4-java") {
+ select("at.yawk.lz4:lz4-java:0")
Review Comment:
> what does the :0 do there?
`select("at.yawk.lz4:lz4-java:0")` tells Gradle to resolve
`org.lz4:lz4-java` capability conflicts by choosing the `at.yawk.lz4` variant,
while keeping the version decided by the normal dependency graph (`1.10.2`
here). The `:0` is just a required placeholder — it has no real effect on the
version chosen.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]