Skip to content

Commit d1a842e

Browse files
authored
[build] update to latest dokka (#1090)
1 parent 21d8660 commit d1a842e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

build.gradle.kts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,12 @@ subprojects {
117117
archiveClassifier.set("sources")
118118
from(sourceSets.main.get().allSource)
119119
}
120-
val dokka by getting(DokkaTask::class) {
121-
outputFormat = "javadoc"
122-
outputDirectory = "$buildDir/javadoc"
123-
}
120+
121+
val dokka = named("dokkaJavadoc", DokkaTask::class)
124122
val javadocJar by registering(Jar::class) {
125123
archiveClassifier.set("javadoc")
126124
from("$buildDir/javadoc")
127-
dependsOn(dokka.path)
125+
dependsOn(dokka)
128126
}
129127
publishing {
130128
publications {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ wireMockVersion = 2.27.2
4141

4242
# plugin versions
4343
detektVersion = 1.16.0
44-
dokkaVersion = 0.10.1
44+
dokkaVersion = 1.4.30
4545
jacocoVersion = 0.8.6
4646
ktlintVersion = 0.41.0
4747
ktlintPluginVersion = 10.0.0

0 commit comments

Comments
 (0)