Skip to content

Commit

Permalink
dokka bug reproducer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed Mar 14, 2021
1 parent 2b90e56 commit 6734feb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sample/mpp-library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ plugins {
id("dev.icerock.mobile.multiplatform-resources")
id("dev.icerock.mobile.multiplatform-network-generator")
id("dev.icerock.mobile.multiplatform.ios-framework")
id("org.jetbrains.dokka") version("1.4.20")
}

dependencies {
Expand Down Expand Up @@ -56,3 +57,21 @@ mokoNetwork {
}
}
}

tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().all {
dokkaSourceSets {
named("commonMain") {
noAndroidSdkLink.set(true)
noJdkLink.set(true)
reportUndocumented.set(true)
skipEmptyPackages.set(false)
}
}

doFirst {
dokkaSourceSets.forEach { dokkaSourceSet ->
println("dokka source set ${dokkaSourceSet.name}")
println("dokka source set files ${dokkaSourceSet.sourceRoots.files}")
}
}
}

0 comments on commit 6734feb

Please sign in to comment.