Skip to content

Commit 0ce73d4

Browse files
committed
removed selectHighestVersion and made it more specific for 1.8.1 version
1 parent 78aef6a commit 0ce73d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ subprojects {
3434
// This resolution strategy tells Gradle to automatically select the highest version when this conflict occurs.
3535
configurations.all {
3636
resolutionStrategy.capabilitiesResolution.withCapability("org.lz4:lz4-java") {
37-
selectHighestVersion()
37+
select("at.yawk.lz4:lz4-java:1.8.1")
38+
because("Both org.lz4 and at.yawk.lz4 provide lz4-java due to Sonatype redirect")
3839
}
3940
}
4041
}

0 commit comments

Comments
 (0)