Dariusz Kuc
05/30/2020, 7:34 PMpublish
) and Plugin Portal (publishPlugin
) and while last publish was successful I only got pom, module, javadoc and sources (from default maven publication) but no jar (in sonatype).
My root project config:
https://github.com/ExpediaGroup/graphql-kotlin/blob/master/build.gradle.kts#L172 <- I’m explicitly configuring mavenJava
publication for all projects except Gradle plugin as it explicitly creates its own pluginMaven
publication.
Gradle plugin config:
https://github.com/ExpediaGroup/graphql-kotlin/blob/master/plugins/graphql-kotlin-gradle-plugin/build.gradle.kts
publishToMavenLocal
correctly publishes the plugin jar so it would appear that pluginMaven
publication already contains the jar -> any ideas?gammax
05/31/2020, 5:41 PMDariusz Kuc
05/31/2020, 5:54 PMArun
05/31/2020, 8:16 PMmavenJava
you can simply override details of the publication the java-gradle-plugin will be creating. I think it's called pluginMaven
.Dariusz Kuc
05/31/2020, 8:47 PM