diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-02 15:08:52 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-02 16:51:03 +0300 |
commit | 54c3c87acfb31afc22afc5f20229384f755b677f (patch) | |
tree | 276b600a967ab9a2b710ae62e2acc1443d395c7d /runners/cli | |
parent | acbe2f8c47a81c8e6046214f600ffdef24890fa6 (diff) | |
download | dokka-54c3c87acfb31afc22afc5f20229384f755b677f.tar.gz dokka-54c3c87acfb31afc22afc5f20229384f755b677f.tar.bz2 dokka-54c3c87acfb31afc22afc5f20229384f755b677f.zip |
Refactoring internal communication for gradle
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index 78e3077d..0d1ff76c 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -65,7 +65,7 @@ object MainKt { val includes = if (arguments.include.isNotEmpty()) arguments.include.split(File.pathSeparatorChar).toList() else listOf() val sourceLinks = if (arguments.srcLink.isNotEmpty() && arguments.srcLink.contains("=")) - listOf(parseSourceLinkDefinition(arguments.srcLink)) + listOf(SourceLinkDefinitionImpl.parseSourceLinkDefinition(arguments.srcLink)) else { if (arguments.srcLink.isNotEmpty()) { println("Warning: Invalid -srcLink syntax. Expected: <path>=<url>[#lineSuffix]. No source links will be generated.") @@ -87,7 +87,7 @@ object MainKt { val generator = DokkaGenerator( DokkaConsoleLogger, classPath, - sources.map(::parseSourceRoot), + sources.map(SourceRootImpl.Companion::parseSourceRoot), samples, includes, arguments.moduleName, |