aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main/kotlin/org
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-06-12 11:35:42 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-06-15 13:15:30 +0200
commitc804fab6e15ce7974453388afbdeed1cae33ea83 (patch)
treeee30c19c7550c1e3b0ad923980c90eba9f2b4259 /runners/gradle-plugin/src/main/kotlin/org
parent18d46c118174e0aea8d917b977ff7e8461e0e8c4 (diff)
downloaddokka-c804fab6e15ce7974453388afbdeed1cae33ea83.tar.gz
dokka-c804fab6e15ce7974453388afbdeed1cae33ea83.tar.bz2
dokka-c804fab6e15ce7974453388afbdeed1cae33ea83.zip
Make module name a part of sourceSetID be default
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
index bedbad18..cad5e34f 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
@@ -285,7 +285,7 @@ open class DokkaTask : DefaultTask(), Configurable {
config.moduleName = project.name
}
if (config.sourceSetID.isBlank()) {
- config.sourceSetID = config.name.takeIf(String::isNotBlank) ?: config.analysisPlatform.key
+ config.sourceSetID = config.moduleName + "/" + config.name
}
config.dependentSourceSets = config.dependentSourceSets.map { config.moduleName + "/" + it }.toMutableList()
if (config.displayName.isBlank()) {