Skip to content

Commit 1c68a6f

Browse files
committed
Fix javadoc task
1 parent c90bf1f commit 1c68a6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,11 @@ tasks.jacocoTestReport {
166166
}
167167
}
168168

169+
val javadoc = tasks.named("javadoc")
170+
169171
val javadocJar by tasks.creating(Jar::class) {
170-
dependsOn.add(tasks.dokkaJavadoc)
171172
archiveClassifier.set("javadoc")
172-
from(tasks.dokkaJavadoc)
173+
from(javadoc)
173174
}
174175

175176
publishing {

0 commit comments

Comments
 (0)