Dokka sourceset definition

This commit is contained in:
Ugljesa Jovanovic 2020-08-09 14:35:20 +02:00 committed by Ugljesa Jovanovic
parent aef190199d
commit 0ab54a6048
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
4 changed files with 32 additions and 0 deletions

View File

@ -274,6 +274,14 @@ tasks {
dokkaJavadoc { dokkaJavadoc {
println("Dokka !") println("Dokka !")
dokkaSourceSets {
create("commonMain") {
displayName = "common"
platform = "common"
}
}
} }
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") { if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {

View File

@ -535,6 +535,13 @@ tasks {
dokkaJavadoc { dokkaJavadoc {
println("Dokka !") println("Dokka !")
dokkaSourceSets {
create("commonMain") {
displayName = "common"
platform = "common"
}
}
} }
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") { if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
val jvmTest by getting(Test::class) { val jvmTest by getting(Test::class) {

View File

@ -535,6 +535,14 @@ tasks {
dokkaJavadoc { dokkaJavadoc {
println("Dokka !") println("Dokka !")
dokkaSourceSets {
create("commonMain") {
displayName = "common"
platform = "common"
}
}
} }
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") { if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
val jvmTest by getting(Test::class) { val jvmTest by getting(Test::class) {

View File

@ -399,6 +399,15 @@ tasks {
dokkaJavadoc { dokkaJavadoc {
println("Dokka !") println("Dokka !")
dokkaSourceSets {
create("commonMain") {
displayName = "common"
platform = "common"
}
}
} }
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") { if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {