Open mr3y-the-programmer opened 11 months ago
I don't see what "plugin jar artifacts" is when I look at the snippet you provided.
However, if this is in Kotlin or Groovy DSL Gradle code, you should be able to use versionFor
, though it could be a bit verbose in your case.
maybe I wasn't clear enough. Those are defined in libs.versions.toml
, they are gradle plugins but are declared the same way you declare normal dependencies (i.e "groupId:artifact:version"), I'm defining them this way to be able to use them as dependencies in convention plugins. similar to what now in android sample app does here
⚠️ Is your feature request related to a problem? Please describe
RefreshVersions doesn't fetch updates when declaring plugin coordinates like normal dependency artifacts to use in build scripts or composite builds (i.e convention plugins), For example:
So, I have to remember to update those dependencies whenever I bump their respective plugin marker artifacts' versions
💡 Describe the solution you'd like
Running
.\gradlew refreshVersions
should fetch updates for those dependencies like any other dependencies🤚 Do you want to develop this feature yourself?