File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-t
1414kotlinx-serialization-core = { module = " org.jetbrains.kotlinx:kotlinx-serialization-core" , version.ref = " kotlinx-serialization" }
1515
1616[plugins ]
17- dokka-javadoc = { id = " org.jetbrains.dokka-javadoc " , version.ref = " dokka" }
17+ dokka = { id = " org.jetbrains.dokka" , version.ref = " dokka" }
1818kover = { id = " org.jetbrains.kotlinx.kover" , version.ref = " kover" }
1919ktlint = { id = " org.jlleitschuh.gradle.ktlint" , version.ref = " ktlint" }
2020nexus-publish = { id = " io.github.gradle-nexus.publish-plugin" , version.ref = " nexus-publish" }
Original file line number Diff line number Diff line change 1+ import org.jetbrains.dokka.gradle.DokkaBasePlugin
2+
13plugins {
24 kotlin(" multiplatform" )
35 kotlin(" plugin.serialization" )
4- alias(libs.plugins.dokka.javadoc )
6+ alias(libs.plugins.dokka)
57 alias(libs.plugins.ktlint)
68 `maven- publish`
79 signing
@@ -46,11 +48,11 @@ tasks.withType<GenerateModuleMetadata> {
4648 enabled = ! isSnapshot()
4749}
4850
49- val dokkaJavadocJar by tasks.registering(Jar ::class ) {
50- group = JavaBasePlugin . DOCUMENTATION_GROUP
51+ val dokkaHtmlJar by tasks.registering(Jar ::class ) {
52+ group = DokkaBasePlugin . TASK_GROUP
5153 description = " Assembles Kotlin docs with Dokka"
5254 archiveClassifier.set(" javadoc" )
53- from(tasks.dokkaGeneratePublicationJavadoc )
55+ from(tasks.dokkaGeneratePublicationHtml )
5456}
5557
5658publishing {
@@ -88,7 +90,7 @@ publishing {
8890 }
8991
9092 from(components[" kotlin" ])
91- artifact(dokkaJavadocJar )
93+ artifact(dokkaHtmlJar )
9294 }
9395 }
9496}
You can’t perform that action at this time.
0 commit comments