Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.65k stars 107 forks source link

Dependencies added programmatically by plugins are detected by the migration #171

Open martinbonnin opened 4 years ago

martinbonnin commented 4 years ago

Dependencies such as com.squareup.sqldelight:runtime-jvm or org.jetbrains.kotlin:kotlin-android-extensions-runtime aree added by their respective plugins and therefore do not need any manual intervention by the users

LouisCAD commented 4 years ago

There's no way to ensure the dependencies have been added by a plugin or by code in the build files.

That means there's a need for rules for every case to be handled. If the cases where we do this is limited, we can embed these rules, but there might be some that are very special cases.

Do you think we should provide an API to allow that to be user defined?

LouisCAD commented 2 years ago

I think this issue is not happening with the new refreshVersionsMigrate Gradle task.

I think we'll soon drop the original fully manual migration task in favor of the aforementioned refreshVersionsMigrate Gradle task, which will make this issue obsolete.