Rolf
09/03/2024, 9:38 AMRolf
09/03/2024, 5:39 PMcom.gradle.plugin-publish:1.2.2 and com.vanniktech.maven.publish:0.29.0 (I previously used older versions).
I'm also using Dokka (since I use Kotlin) to generate Javadocs, plugin-publish previously did not generate any javadocs on it's own.
Notice that I'm not using the default configuration from vanniktech.maven.publish, instead:
configure(new GradlePlugin(new JavadocJar.Dokka("dokkaHtml")))
I did this because I don't want the default javadocs, but the Dokka docs.
What I'm seeing is that with the above configuration I get duplicated javadocs being generated, it seems I cannot easily disable those generated by gradle-publish.
This also seems to have lead to a failed upload to the Plugin Portal. I tried to reproduce by removing the duplicated javadocs, and the upload succeeded (although I had to increment the version number). Then I removed this version from the Gradle Portal, and tried again with the duplicated javadocs... now I'm stuck again, cannot remove that version cannot try again.
This all leads to a few questions:
• How can I recover those failed uploads? I want to upload 1.9.0 still (with Dokka javadocs)
• How can I let the publication use Dokka javadocs and not the default one (without too much hackery).