hello! I’m trying to publish my custom gradle plug...
# gradle
d
hello! I’m trying to publish my custom gradle plugin to Maven central and currently it blows up on the auto generated plugin marker
pom.xml
. So my question is a) I’m publishing to both Maven central and Gradle plugin portal - should this plugin marker
pom.xml
actually be published to Central? b) If its not needed -> how do I exclude it from publications c) If it is needed -> how do I configure it to add required fields for sonatype validation d) its a multi-module project where other libs are published to Maven central -> how do I disable Gradle plugin from publishing to Maven central?
tried configuring my gradle plugin build with
Copy code
tasks.withType<PublishToMavenRepository> { enabled = false }
but I still see
publishPluginMavenPublicationToSonatypeRepository
Fyi - with the above task is created but is skipped during execution