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.

Enable Plugin Marker Artifact to support plugin DSL

See original GitHub issue

Hi, thanks for your work! This issue is similar to #166

Issue:

To support plugin DSL (required for type-safe model accessors when using kts) every gradle plugin needs to declare a Plugin Marker Artifact.

The plugin seems to be lacking the Plugin Marker Artifact . Normally the java-gradle-plugin takes care of configuring the marker. I am not sure if this is because you disabled isAutomatedPublishing or if some configuration is missing. From what I remember this should work pretty much out of the box.

Currently your plugin forces developers that use the plugin DSL to configure a custom resolution strategy.

Plugin Version: 1.7.1.1 Gradle Version: 6.8.3

Steps to reproduce:

  • use plugin DSL to resolve and apply the plugin

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mannodermauscommented, Sep 17, 2021

From plugin version 1.8.0.0 onwards, automated publishing of the Plugin Marker artifact will be done. In fact, 1.8.0.0-SNAPSHOT already does this right now if you’re able to pull from Sonatype’s snapshot repository. I’ll be releasing the stable, non-snapshot release over the weekend.

0reactions
Legion2commented, Sep 17, 2021

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Gradle Plugins
To do so, Gradle will look for a Plugin Marker Artifact with the coordinates plugin.id:plugin.id.gradle.plugin:plugin.version . This marker needs to have a ...
Read more >
Gradle Goodness: Custom Plugin Repositories With ... - Mrhaki
A plugin marker artifact is a deployment following a specific naming convention with a dependency on the actual plugin code. If we write...
Read more >
How can the gradle plugin repository be changed?
Plugin resolution rules allow you to modify plugin requests made in ... and Ivy plugin repositories must contain plugin marker artifacts in ...
Read more >
5. Add Gradle Plugin with Dependencies - Spring Cloud
Plugin DSL GA versions. // build.gradle plugins { id "groovy" ; Plugin DSL non GA versions. // settings.gradle pluginManagement { plugins { id...
Read more >
Dagger 2.41 with Gradle plugin DSL support now available
With the recent Crashlytics plugin update (2.8.1) now all our plugins have a proper Plugin Marker Artifact and we were able to remove...
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