File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ plugins {
1414 `maven- publish`
1515 signing
1616 kotlin(" multiplatform" ) version " 1.5.31"
17- id(" org.jetbrains.dokka" ) version " 0.10.1 "
18- id(" com.github.ben-manes.versions" ) version " 0.36 .0"
17+ id(" org.jetbrains.dokka" ) version " 1.5.31 "
18+ id(" com.github.ben-manes.versions" ) version " 0.39 .0"
1919}
2020
2121tasks.withType<DependencyUpdatesTask > {
@@ -26,17 +26,13 @@ tasks.withType<DependencyUpdatesTask> {
2626 }
2727}
2828
29- val dokka by tasks.existing(DokkaTask ::class ) {
30- outputFormat = " javadoc"
31- outputDirectory = " $buildDir /docs/javadoc"
32- }
29+ val dokkaHtml by tasks.existing(DokkaTask ::class )
3330
3431val javadocJar by tasks.registering(Jar ::class ) {
3532 group = LifecycleBasePlugin .BUILD_GROUP
3633 description = " Assembles a jar archive containing the Javadoc API documentation."
3734 archiveClassifier.set(" javadoc" )
38- dependsOn(dokka)
39- from(dokka.get().outputDirectory)
35+ from(dokkaHtml)
4036}
4137
4238repositories {
You can’t perform that action at this time.
0 commit comments