Skip to content
This repository was archived by the owner on Aug 10, 2024. It is now read-only.

Commit 4ccda48

Browse files
committed
fix apparent issue with Dokka syntax
1 parent 7f24483 commit 4ccda48

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,17 @@ tasks.test {
9393
}
9494

9595

96-
tasks.dokkaHtml {
96+
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
9797
dokkaSourceSets {
9898
configureEach {
9999
includes.from("src/main/kotlin/packages.md")
100100
}
101101

102-
named("main") {
103-
// Convert this to Kotlin
102+
getByName("main") {
104103
sourceLink {
105104
localDirectory.set(file("src/main/kotlin"))
106105
remoteUrl.set(URL("https://github.com/kwebio/kweb-core/tree/master/src/main/kotlin"))
107106
}
108107
}
109-
// Converted
110-
111108
}
112109
}

0 commit comments

Comments
 (0)