littlerobots / version-catalog-update-plugin

Gradle plugin for updating a project version catalog
Apache License 2.0
555 stars 22 forks source link

Ignore Pinned Versions #124

Closed jdelga closed 9 months ago

jdelga commented 10 months ago

I am using this plugin with several pinned versions in my toml file which usually require a manual update as they need to be compatible with other libraries, such as AGP with other plugins.

I wonder if it is possible to enable an option to ignore all configurations in pinned and keep libraries, so that I am aware that a new version is available.

Thank you very much!

hvisser commented 10 months ago

The plugin should tell you that there's a new version already. Also if you run with --interactive the pinned items are commented out but the version is updated so that you can decide if you want to update them anyway.

The only caveat here (mostly for things you keep) is that the dependency needs to be actually used in your project as a dependency, otherwise the versions plugin will not detect any new versions for it.

hvisser commented 9 months ago

I think the plugin already does what you want, and I'd need more info if it doesn't, so closing for now.