Problem
The Gradle plugin marker artifacts for both plugin ids are missing from Maven Central (and Gradle Plugin Portal) for releases 1.0.0, 1.1.0, and 1.1.1. The only version with published markers is 1.0.0-Beta1:
dev.androidbroadcast.featured:dev.androidbroadcast.featured.gradle.plugin — maven-metadata.xml lists only 1.0.0-Beta1
dev.androidbroadcast.featured.application:dev.androidbroadcast.featured.application.gradle.plugin — never published at all
The implementation artifact dev.androidbroadcast.featured:featured-gradle-plugin:1.1.1 IS published and contains both plugin descriptors (META-INF/gradle-plugins/dev.androidbroadcast.featured.properties and ...featured.application.properties), so only the marker POMs are missing.
Impact
The documented plugins { id("dev.androidbroadcast.featured") version "1.1.1" } / version-catalog plugin alias usage fails to resolve, because the plugins {} DSL resolves plugins via marker artifacts.
Workaround
// settings.gradle.kts
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith("dev.androidbroadcast.featured")) {
useModule("dev.androidbroadcast.featured:featured-gradle-plugin:${requested.version}")
}
}
}
}
Expected
Marker artifacts published for both plugin ids on every release (e.g. via java-gradle-plugin's automated marker publication / gradlePlugin {} block with the maven-publish plugin).
Problem
The Gradle plugin marker artifacts for both plugin ids are missing from Maven Central (and Gradle Plugin Portal) for releases
1.0.0,1.1.0, and1.1.1. The only version with published markers is1.0.0-Beta1:dev.androidbroadcast.featured:dev.androidbroadcast.featured.gradle.plugin—maven-metadata.xmllists only1.0.0-Beta1dev.androidbroadcast.featured.application:dev.androidbroadcast.featured.application.gradle.plugin— never published at allThe implementation artifact
dev.androidbroadcast.featured:featured-gradle-plugin:1.1.1IS published and contains both plugin descriptors (META-INF/gradle-plugins/dev.androidbroadcast.featured.propertiesand...featured.application.properties), so only the marker POMs are missing.Impact
The documented
plugins { id("dev.androidbroadcast.featured") version "1.1.1" }/ version-catalog plugin alias usage fails to resolve, because theplugins {}DSL resolves plugins via marker artifacts.Workaround
Expected
Marker artifacts published for both plugin ids on every release (e.g. via
java-gradle-plugin's automated marker publication /gradlePlugin {}block with the maven-publish plugin).