Configure dokka for JVM-only
This commit is contained in:
parent
dd2dc9e380
commit
ae060f5bd2
1 changed files with 14 additions and 0 deletions
|
@ -52,6 +52,20 @@ tasks {
|
|||
delete(deployDir)
|
||||
}
|
||||
|
||||
dokkaJavadoc {
|
||||
dokkaSourceSets {
|
||||
configureEach {
|
||||
suppress.set(true)
|
||||
}
|
||||
|
||||
val commonMain by getting {
|
||||
suppress.set(false)
|
||||
platform.set(org.jetbrains.dokka.Platform.jvm)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
withType<DokkaTask>().configureEach {
|
||||
dokkaSourceSets.configureEach {
|
||||
moduleName.set("UrlEncoder Library")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue