In a gradle multi project build:
root << applies: dependency{ 'org:module:version1' }
|- foo (version1) is ok here
|- bar (version1) not ok here, I need to use version 2
Is there a way to achieve this behaviour?
In a gradle multi project build:
root << applies: dependency{ 'org:module:version1' }
|- foo (version1) is ok here
|- bar (version1) not ok here, I need to use version 2
Is there a way to achieve this behaviour?
Copyright © 2021 Jogjafile Inc.
An alternative you can use is the
strictly
keyword. In yourbar
module you can write something like:Also, if you check your
bar
module dependency graph with:You'll get an output like this: