Publish plugin marker artifacts for use with plugins DSL
See original GitHub issueTo use this syntax aka plugins DSL the plugin must have a corresponding marker artifact in one of the plugin repositories:
plugins {
id 'com.google.gms.google-services' version '4.2.0'
}
Also instead of using buildscript
block one would have to add Google’s Maven as a plugin repository in their settings.gradle
:
pluginManagement {
repositories {
gradlePluginPortal()
google()
}
}
PR for google-services-plugin
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Using Gradle Plugins
Plugin Marker Artifacts. Since the plugins {} DSL block only allows for declaring plugins by their globally unique plugin id and version properties, ......
Read more >Gradle Goodness: Custom Plugin Repositories With ... - Mrhaki
In our build file we use the plugins DSL to apply the ... the plugin marker artifacts when we publish our plugin to...
Read more >Gradle Artifactory Plugin - JFrog - JFrog Documentation
The Gradle Artifactory Plugin allows you to deploy your build artifacts and build information to Artifactory and also to resolve your build ...
Read more >gradle - Plugin marker artifact for precompiled script plugin not ...
Configure the Maven or Ivy Publish Plugins publishing plugins to publish a Plugin Marker Artifact for each plugin.
Read more >Loading Gradle plugins in 2019 - Martin Bonnin - Medium
You can use the plugin block in your module build script, in the root build ... Gradle introduced marker artifacts to lookup the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@technoir42 Apologies for the ping, but are there any plans on getting the other 2 plugins
oss-licenses-plugin
andstrict-version-matcher-plugin
updated with plugin markers? I’ve noticed that in the PR #51 you’ve mentioned that you’re planning to update the last 2 plugins as well. 😅EDIT: I’ve since created a PR #222 that aims to publish a plugin marker for the OSS Licenses plugin
@davidmotson sorry for mentioning directly, but I’ve seen that you are involved in a similar task for Firebase (https://github.com/firebase/firebase-android-sdk/issues/3125#issuecomment-966711911) which is going to be released soon, and you also contributed some code to the google-services plugin - so will you be able to also have a look at the plugin marker artifact support for google-services? I could completely get rid of
buildscript
block in my project when plugin markers are released for both Firebase plugins and google-services.