Hadi Lashkari
08/20/2020, 8:09 AMtasks.dokkaHtml {
outputDirectory = "$buildDir/dokka"
dokkaSourceSets {
register("commonMain") {
displayName = "common"
platform = "common"
}
register("jvmMain") {
displayName = "jvm"
platform = "jvm"
}
register("androidMain") {
noAndroidSdkLink = true
displayName = "android"
platform = "android"
}
}
}
but when I run ./gradlew dokkaJavadoc I got
No source set with name 'main' found
In the main directory is the AndroidManifest.xml without a source! So how can I unregister the main?Hadi Lashkari
08/20/2020, 8:11 AM1.4.0-rcJavier
08/20/2020, 8:16 AMJavier
08/20/2020, 8:16 AMSebastian Sellmair [JB]
08/20/2020, 8:26 AMkotlin-dev repository is dead, its hosted on
maven("<https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev>")Hadi Lashkari
08/20/2020, 8:28 AMtasks.dokkaHtml {
outputDirectory = "$buildDir/dokka"
}Hadi Lashkari
08/20/2020, 8:28 AMJavier
08/20/2020, 8:29 AMJavier
08/20/2020, 8:29 AMSebastian Sellmair [JB]
08/20/2020, 8:30 AMtasks.dokkaHtml {
outputDirectory.set(buildDir.resolve("dokka"))
}
Why does everyone actually set some different output dir?
Do people not like the default output directories? π’Sebastian Sellmair [JB]
08/20/2020, 8:31 AMHadi Lashkari
08/20/2020, 8:31 AMSebastian Sellmair [JB]
08/20/2020, 8:31 AMHadi Lashkari
08/20/2020, 8:31 AMSebastian Sellmair [JB]
08/20/2020, 8:31 AMIt was in the github READMEYes, and it works for 1.4.0-rc New dev builds include changes to the Gradle Plugin
Sebastian Sellmair [JB]
08/20/2020, 8:33 AMkotlin-examples repository here:
https://github.com/Kotlin/kotlin-examples/pull/130/files
I posted tips for migration here:
https://kotlinlang.slack.com/archives/C0F4UNJET/p1597767279098900Hadi Lashkari
08/20/2020, 8:33 AMHadi Lashkari
08/20/2020, 8:36 AMmaven("<https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev>") ! I cannot find it!Sebastian Sellmair [JB]
08/20/2020, 8:38 AMSebastian Sellmair [JB]
08/20/2020, 8:39 AMpluginManagement block, as well as to your regular project repositoriesHadi Lashkari
08/20/2020, 8:39 AMHadi Lashkari
08/20/2020, 8:40 AMHadi Lashkari
08/20/2020, 8:42 AMPluginMangement! Now it's building!Hadi Lashkari
08/20/2020, 8:42 AMSebastian Sellmair [JB]
08/20/2020, 8:44 AMSebastian Sellmair [JB]
08/20/2020, 8:44 AM