From 3f2a790190da4f40ea6d8a976aa1929b2a1b002b Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Tue, 5 May 2020 17:45:12 +0200 Subject: Changing approach from platform-driven to source-set-driven --- runners/cli/src/main/kotlin/cli/main.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'runners/cli/src/main') diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index dca97ec6..607a58a7 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -65,6 +65,12 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi "" ) + override val sourceSetName: String by parser.stringOption( + listOf("-module"), + "Name of the source set", + "main" + ) + override val classpath: List by parser.repeatableOption( listOf("-classpath"), "Classpath for symbol resolution" @@ -75,6 +81,11 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi "Source file or directory (allows many paths separated by the system path separator)" ) { SourceRootImpl(it) } + override val dependentSourceRoots: List by parser.repeatableOption( + listOf("-src"), + "Source file or directory (allows many paths separated by the system path separator)" + ) { SourceRootImpl(it) } + override val samples: List by parser.repeatableOption( listOf("-sample"), "Source root for samples" -- cgit