Skip to content

Commit

Permalink
Fix missing dependencies for Kotlin library javadoc packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonlee authored May 28, 2022
1 parent 15b5622 commit 8f4e4fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ open class KotlinLibraryPublishPlugin : AbstractLibraryPublishPlugin() {
register("mavenJava", MavenPublication::class) {
val sourceSets = the<SourceSetContainer>()
val javadocJar = tasks.register("packageJavadocFor${name.capitalize()}", Jar::class.java) {
dependsOn("dokkaHtml")
archiveClassifier.set("javadoc")
from(tasks["dokkaHtml"])
}
Expand All @@ -44,4 +45,4 @@ open class KotlinLibraryPublishPlugin : AbstractLibraryPublishPlugin() {
}
}

}
}

0 comments on commit 8f4e4fb

Please sign in to comment.