From c804fab6e15ce7974453388afbdeed1cae33ea83 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Fri, 12 Jun 2020 11:35:42 +0200 Subject: Make module name a part of sourceSetID be default --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runners/gradle-plugin/src/main/kotlin/org') 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()) { -- cgit