Skip to content

Commit bbfa156

Browse files
committed
Update Gradle plugins
1 parent 5484e39 commit bbfa156

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

build.gradle.kts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff 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

2121
tasks.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

3431
val 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

4238
repositories {

0 commit comments

Comments
 (0)