Closed frangipanes closed 2 years ago
The dependency resolution is managed by the version plugin, not this plugin. Have you tried specifying constraints as specified in their docs? If the dependency versions plugin does not report those dependencies as used, they won't be seen by this plugin either because it builds upon it.
You don't really need to keep everything, you can just pin or keep the specific libraries too
Thanks, I didn't realise it was something I had to configure for the versions plugin!
If I define a constraints block like this
then
./gradlew versionCatalogUpdate
should not remove those libraries fromlibs.versions.toml
, which it currently does (it thinks they are not used).For now I am forcing the desired behaviour with
but it should work out of the box.