question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publish Gradle Plugin marker artifacts for all Gradle Plugins to maven.google.com

See original GitHub issue

What 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:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davidmotsoncommented, Nov 12, 2021

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.

0reactions
davidmotsoncommented, Dec 6, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found