littlerobots / version-catalog-update-plugin

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

Interactive mode also formats the catalog #102

Closed hvisser closed 1 year ago

hvisser commented 1 year ago

Running ./gradlew versionCatalogUpdate --interactive also formats the version catalog, which is unintended. In interactive mode it should only generate the updates file, and only format when applying the updates.

hvisser commented 1 year ago

Looking at the code there is some need to remove obsolete (unused) dependencies and as a result version groups may be changed. For now, working as intended I suppose :)