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
to workaround the fact that Google refuses to correctly publish their Gradle plugins.
Unfortunately, this requires me to request a version, negating the use of refreshVersions for only the Google services plugin.
Digging into the bootstrapRefreshVersionsCore() function and then into setupRefreshVersions() I can see some special casing for the Android plugins which achieves the same thing as what I've done in pluginManagement above.
I'd like to request some mechanism whereby a similar thing to the Android special casing could be done when calling bootstrapRefreshVersions, or else some suggestion to solve the problem I'm having. I know I can workaround it by just declaring a buildscript dependency, and that's what I will probably do, but it's slightly annoying that I can't get this one plugin to work with refreshVersions!
The root problem is, as I said, Google seems to not be interested in publishing plugin marker artifacts, even on their own repository, and it's quite stupid that we all have to work around it, but I suppose that's what Google does!
Thanks for the work on this plugin, BTW. It's the best solution for managing versions I've seen yet, and is really useful.
The text was updated successfully, but these errors were encountered:
This isn't quite a bug report but could be a feature request.
I have a
settings.gradle.kts
looking like this:which enables applying the Google services Gradle plugin from a
plugins
block, e.g.:to workaround the fact that Google refuses to correctly publish their Gradle plugins.
Unfortunately, this requires me to request a version, negating the use of
refreshVersions
for only the Google services plugin.Digging into the
bootstrapRefreshVersionsCore()
function and then intosetupRefreshVersions()
I can see some special casing for the Android plugins which achieves the same thing as what I've done inpluginManagement
above.I'd like to request some mechanism whereby a similar thing to the Android special casing could be done when calling
bootstrapRefreshVersions
, or else some suggestion to solve the problem I'm having. I know I can workaround it by just declaring a buildscript dependency, and that's what I will probably do, but it's slightly annoying that I can't get this one plugin to work with refreshVersions!The root problem is, as I said, Google seems to not be interested in publishing plugin marker artifacts, even on their own repository, and it's quite stupid that we all have to work around it, but I suppose that's what Google does!
Thanks for the work on this plugin, BTW. It's the best solution for managing versions I've seen yet, and is really useful.
The text was updated successfully, but these errors were encountered: