Ingo Noka
10/25/2019, 2:01 PMtasks {
val dokka by getting(DokkaTask::class) {
outputFormat = "html"
multiplatform {
val global by creating {
reportUndocumented = true
includes =
listOf("src/commonMain/kotlin/com/ingonoka/qcat/module.md")
}
val common by creating {
targets = listOf("Common")
platform = "common"
sourceLink {
path = "src/commonMain/kotlin"
url = "<https://github.com/ingonoka/QCAT-LIB-MP/blob/master/qcatlib/src/commonMain/kotlin>"
lineSuffix = "#L"
}
}
val jvm by creating {
targets = listOf("Jvm")
platform = "jvm"
sourceLink {
path = "src/jvmMain/kotlin"
url = "<https://github.com/ingonoka/QCAT-LIB-MP/blob/master/qcatlib/src/jvmMain/kotlin>"
lineSuffix = "#L"
}
}
val android by creating {
targets = listOf("Android")
platform = "android"
sourceLink {
path = "src/androidMain/kotlin"
url = "<https://github.com/ingonoka/QCAT-LIB-MP/blob/master/qcatlib/src/androidMain/kotlin>"
lineSuffix = "#L"
}
}
}
}
I am expecting source links to be created for all functions, but only classes that are unique to android or JVM have a link. There are no source links for any function in commonMain
. Is that intentional or am I making a mistake here?Kamil Doległo
10/25/2019, 7:53 PMIngo Noka
10/26/2019, 4:23 AMKamil Doległo
10/26/2019, 9:16 AM