Skip to content

Showcasing the problem with gradle dependency substitution on BOMs

Notifications You must be signed in to change notification settings

dgeissl/gradle-showcase-platform-substitution

Repository files navigation

Showcasing a problem with dependency substitution in gradle, when applied to BOM dependencies: Reported in gradle/gradle#14396

Usage

Substitute the BOM dependency via eachDependency { useTarget ... } (broken)

gradlew resolveDependencies -Dsubstitution=useTarget

Substitute the BOM dependency via dependencySubstitution { substitute module ... } (half working and half broken)

gradlew resolveDependencies -Dsubstitution=substituteModule

Substitute the BOM dependency via eachDependency { useVersion ... } (working)

gradlew resolveDependencies -Dsubstitution=useVersion 

About

Showcasing the problem with gradle dependency substitution on BOMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published