serebit
04/03/2019, 8:55 PMmkobit
04/03/2019, 8:55 PMdelegateClosureOf
nastiness?!serebit
04/03/2019, 8:56 PMtasks.dokka {
outputDirectory = "$rootDir/public/docs"
impliedPlatforms = mutableListOf("Common")
kotlinTasks { emptyList() }
sourceRoot {
path = kotlin.sourceSets.commonMain.get().kotlin.srcDirs.first().absolutePath
platforms = listOf("Common")
}
sourceRoot {
path = kotlin.jvm().compilations["main"].defaultSourceSet.kotlin.srcDirs.first().absolutePath
platforms = listOf("JVM")
}
}
Shan
04/04/2019, 5:27 PMgradlew javadocJar
(from my task that makes the javadoc from dokka) it creates it for my common code, but not my jvm target. It doesn't create a jvmJavadocJar task automatically like other tasks unfortunately. 😞serebit
04/04/2019, 6:03 PMShan
04/04/2019, 8:56 PMserebit
04/04/2019, 8:56 PM