You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the libraries I use are being deleted on update (they get flagged as unused).
If I use @keep they will not get updates anymore and if I use the configuration keepUnusedLibraries.set(true) any possible unused library will not be deleted anymore.
That is why I wrote an additional version catalog containing the libraries I want to keep that get deleted on updates.
Then I used a different configuration for this catalog.
I expected that the libraries in libs.versions.toml still get deleted when unused and the libraries in keeplibs.versions.toml never get deleted.
This configuration unexpectedly results in that all libraries (in both catalogs) never get deleted.
gradle 8.5
version-catalog-update 0.8.4
The text was updated successfully, but these errors were encountered:
The dependency update plugin will only find updates if you have the dependencies actually referenced in your app. If they don't appear in your dependencies at all, then they will be considered unused. If you decide to mark those as "keep" they will always be retained, but never upgraded because the dependencies are never discovered/used.
You can also enable the new resolver (see #125 for details). This doesn't use the dependency versions plugin anymore but uses the catalog for the version information. For 1.0 this will be the default, but since it's quite a big change it's still behind a flag.
Some of the libraries I use are being deleted on update (they get flagged as unused).
If I use @keep they will not get updates anymore and if I use the configuration
keepUnusedLibraries.set(true)
any possible unused library will not be deleted anymore.That is why I wrote an additional version catalog containing the libraries I want to keep that get deleted on updates.
Then I used a different configuration for this catalog.
I expected that the libraries in
libs.versions.toml
still get deleted when unused and the libraries inkeeplibs.versions.toml
never get deleted.This configuration unexpectedly results in that all libraries (in both catalogs) never get deleted.
gradle 8.5
version-catalog-update 0.8.4
The text was updated successfully, but these errors were encountered: