Publish Gradle Plugin marker artifacts for all Gradle Plugins to maven.google.com
See original GitHub issueWhat feature would you like to see?
Firebase Gradle Plugins should be published together with Gradle plugin marker. See the same issue request for Android Gradle Plugin (which was fixed)
How would you use it?
It will simplify usage of Gradle Plugins DSL , which became the default way to use plugins for Android project templates
Currently, it is required to do mapping manually for Firebase plugins (we don’t have any other plugin without marker artifacts)
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.google.firebase.appdistribution") {
useModule("f:$requested.version")
} else if (requested.id.id == "com.google.firebase.crashlytics") {
useModule("com.google.firebase:firebase-crashlytics-gradle:$requested.version")
} else if ...
}
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Maven Publish Plugin - Gradle User Manual
The Maven Publish Plugin provides the ability to publish build artifacts to an Apache Maven repository. A module published to a Maven repository...
Read more >Gradle how to publish a gradle-plugin to maven central
You are correct for the (2) artifacts produced. One is the plugin marker (single pom.xml ) and the other is the actual plugin...
Read more >Allow application of the Android Gradle plugins ... - Issue Tracker
... Plugin Version: any. To apply the Android Gradle plugin one has to do the following: ... Any chance that marker will be...
Read more >Publish Artifacts from a Gradle Project - JetBrains
Publish Maven artifacts using Gradle command-line tool · Open the project's build.gradle file. · Add the reference to the Maven plugin: · In...
Read more >Loading Gradle plugins in 2019 - Martin Bonnin - Medium
example:com.example.gradle.plugin artifacts points to the actual artifact by depending on it in its pom file. For an example the Kotlin marker artifact contains ......
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 Free
Top 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
We discovered this recently and are working on a fix. Expect it to be released late next week!
I will post back here when its out.
It is available for at least the latest version of each plugin, some plugins (like crashlytics) released a new version to implement this.
If there is a version/artifact pair for which you need this, and cannot upgrade for some reason, let me know.