vanniktech / gradle-maven-publish-plugin

A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc, to Maven Central or any other Nexus instance.
https://vanniktech.github.io/gradle-maven-publish-plugin
Apache License 2.0
1.31k stars 120 forks source link

Support Dokka 2 #854

Closed ZacSweers closed 1 month ago

ZacSweers commented 1 month ago

Dokka 2 changes around some of the task names

Caused by: org.gradle.api.UnknownTaskException: Task with name 'dokkaHtml' not found in project ':tools:cli'.
        at org.gradle.api.internal.tasks.DefaultTaskCollection.createNotFoundException(DefaultTaskCollection.java:119)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.createNotFoundException(DefaultTaskCollection.java:47)
        at org.gradle.api.internal.DefaultNamedDomainObjectCollection.named(DefaultNamedDomainObjectCollection.java:385)
        at org.gradle.api.internal.tasks.DefaultTaskCollection.named(DefaultTaskCollection.java:129)
        at com.vanniktech.maven.publish.tasks.JavadocJar$Companion.dokkaJavadocJar$lambda$6$lambda$4(JavadocJar.kt:45)
        at com.vanniktech.maven.publish.tasks.JavadocJar$Companion.dokkaJavadocJar$lambda$6$lambda$5(JavadocJar.kt:45)
gabrielittner commented 1 month ago

Already merged https://github.com/vanniktech/gradle-maven-publish-plugin/pull/849. I'll cut a release on the weekend at latest