Enable Plugin Marker Artifact to support plugin DSL
See original GitHub issueHi, 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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >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
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.Thanks