diff options
Diffstat (limited to 'runners')
4 files changed, 5 insertions, 5 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt index a54d1351..3ecc7b94 100644 --- a/runners/ant/src/main/kotlin/ant/dokka.kt +++ b/runners/ant/src/main/kotlin/ant/dokka.kt @@ -64,7 +64,7 @@ class AntPassConfig(task: Task) : DokkaConfiguration.PassConfiguration { get() = buildTargets.filter { it.value != "" } .map { it.value } - override var sinceKotlin: String = "1.0" + override var sinceKotlin: String? = null private val samplesPath: Path by lazy { Path(task.project) } private val includesPath: Path by lazy { Path(task.project) } diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index 9e42d01a..63b586f2 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -117,10 +117,10 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi "" ) - override val sinceKotlin: String by parser.stringOption( + override val sinceKotlin: String? by parser.stringOption( listOf("-sinceKotlin"), "Kotlin Api version to use as base version, if none specified", - "1.0" + null ) override val collectInheritedExtensionsFromLibraries: Boolean by parser.singleFlag( diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt index fd889d78..85671c5b 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt @@ -43,7 +43,7 @@ open class GradlePassConfigurationImpl(@Transient val name: String = ""): PassCo override var analysisPlatform: Platform = Platform.DEFAULT var platform: String = "" override var targets: List<String> = emptyList() - override var sinceKotlin: String = "1.0" + override var sinceKotlin: String? = null fun sourceRoot(c: Closure<Unit>) { val configured = ConfigureUtil.configure(c, GradleSourceRootImpl()) diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index 650f268f..4dcc49ba 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -126,7 +126,7 @@ abstract class AbstractDokkaMojo : AbstractMojo() { var targets: List<String> = emptyList() @Parameter - var sinceKotlin: String = "1.0" + var sinceKotlin: String? = null @Parameter var includeNonPublic: Boolean = false |