aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Generation
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-23 17:05:32 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-23 17:05:32 +0100
commit64a86842ae06c7119cca4ef7c66b024f771ab088 (patch)
tree7e98b4ee57c4219c1ea0bff59f289c36e2a9d750 /core/src/main/kotlin/Generation
parent99689adee954582da57268ff0375fdec52193a01 (diff)
downloaddokka-64a86842ae06c7119cca4ef7c66b024f771ab088.tar.gz
dokka-64a86842ae06c7119cca4ef7c66b024f771ab088.tar.bz2
dokka-64a86842ae06c7119cca4ef7c66b024f771ab088.zip
Don't show implied platforms in output
Diffstat (limited to 'core/src/main/kotlin/Generation')
-rw-r--r--core/src/main/kotlin/Generation/DokkaGenerator.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Generation/DokkaGenerator.kt b/core/src/main/kotlin/Generation/DokkaGenerator.kt
index cc9a1b74..8fda1eb1 100644
--- a/core/src/main/kotlin/Generation/DokkaGenerator.kt
+++ b/core/src/main/kotlin/Generation/DokkaGenerator.kt
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.utils.PathUtil
import java.io.File
import kotlin.system.measureTimeMillis
-class SourceRoot(val path: String, val implicitPlatforms: List<String> = emptyList())
+class SourceRoot(val path: String, val defaultPlatforms: List<String> = emptyList())
class DokkaGenerator(val logger: DokkaLogger,
val classpath: List<String>,
@@ -35,7 +35,7 @@ class DokkaGenerator(val logger: DokkaLogger,
private val documentationModule = DocumentationModule(moduleName)
fun generate() {
- val sourcesGroupedByPlatform = sources.groupBy { it.implicitPlatforms }
+ val sourcesGroupedByPlatform = sources.groupBy { it.defaultPlatforms }
for ((platforms, roots) in sourcesGroupedByPlatform) {
appendSourceModule(platforms, roots.map { it.path })
}
@@ -48,7 +48,7 @@ class DokkaGenerator(val logger: DokkaLogger,
logger.info("done in ${timeBuild / 1000} secs")
}
- private fun appendSourceModule(implicitPlatforms: List<String>, sourcePaths: List<String>) {
+ private fun appendSourceModule(defaultPlatforms: List<String>, sourcePaths: List<String>) {
val environment = createAnalysisEnvironment(sourcePaths)
logger.info("Module: $moduleName")
@@ -60,7 +60,7 @@ class DokkaGenerator(val logger: DokkaLogger,
val startAnalyse = System.currentTimeMillis()
val injector = Guice.createInjector(
- DokkaAnalysisModule(environment, options, implicitPlatforms, documentationModule.nodeRefGraph, logger))
+ DokkaAnalysisModule(environment, options, defaultPlatforms, documentationModule.nodeRefGraph, logger))
buildDocumentationModule(injector, documentationModule, { isSample(it) }, includes)