Skip to content

Commit

Permalink
Fix Dokka publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
bnorm committed Jul 10, 2022
1 parent b77abbe commit d131b2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.7.0" apply false
id("org.jetbrains.dokka") version "0.10.0" apply false
id("org.jetbrains.dokka") version "1.7.0" apply false
id("com.gradle.plugin-publish") version "0.11.0" apply false
id("com.github.gmazzo.buildconfig") version "2.0.2" apply false
}
Expand Down
9 changes: 2 additions & 7 deletions kotlin-power-assert-plugin-native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

tasks.dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
}

tasks.register("sourcesJar", Jar::class) {
group = "build"
description = "Assembles Kotlin sources"
Expand All @@ -52,8 +47,8 @@ tasks.register("dokkaJar", Jar::class) {
description = "Assembles Kotlin docs with Dokka"

archiveClassifier.set("javadoc")
from(tasks.dokka)
dependsOn(tasks.dokka)
from(tasks.dokkaHtml)
dependsOn(tasks.dokkaHtml)
}

signing {
Expand Down
9 changes: 2 additions & 7 deletions kotlin-power-assert-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ tasks.withType<Test> {
useJUnitPlatform()
}

tasks.dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
}

tasks.register("sourcesJar", Jar::class) {
group = "build"
description = "Assembles Kotlin sources"
Expand All @@ -47,8 +42,8 @@ tasks.register("dokkaJar", Jar::class) {
description = "Assembles Kotlin docs with Dokka"

archiveClassifier.set("javadoc")
from(tasks.dokka)
dependsOn(tasks.dokka)
from(tasks.dokkaHtml)
dependsOn(tasks.dokkaHtml)
}

signing {
Expand Down

0 comments on commit d131b2b

Please sign in to comment.