diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-06-12 11:35:42 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-15 13:15:30 +0200 |
commit | c804fab6e15ce7974453388afbdeed1cae33ea83 (patch) | |
tree | ee30c19c7550c1e3b0ad923980c90eba9f2b4259 /runners | |
parent | 18d46c118174e0aea8d917b977ff7e8461e0e8c4 (diff) | |
download | dokka-c804fab6e15ce7974453388afbdeed1cae33ea83.tar.gz dokka-c804fab6e15ce7974453388afbdeed1cae33ea83.tar.bz2 dokka-c804fab6e15ce7974453388afbdeed1cae33ea83.zip |
Make module name a part of sourceSetID be default
Diffstat (limited to 'runners')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 2 |
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()) { |