From 7c187836602392972bbcd48c8836e5a4a603e0fc Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 17 Apr 2019 13:41:49 +0200 Subject: Remove default target --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 2 +- .../kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'runners/gradle-plugin/src/main/kotlin') 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 6c93188b..b7e859e1 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 @@ -230,7 +230,7 @@ open class DokkaTask : DefaultTask() { } } - private fun defaultPassConfiguration(passConfig: GradlePassConfigurationImpl): GradlePassConfigurationImpl{ + private fun defaultPassConfiguration(passConfig: GradlePassConfigurationImpl): GradlePassConfigurationImpl { val (tasksClasspath, _) = kotlinCompileBasedClasspathAndSourceRoots val fullClasspath = tasksClasspath + classpath 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 56bfe262..50412734 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 @@ -41,7 +41,7 @@ open class GradlePassConfigurationImpl(@Transient val name: String = ""): PassCo override var suppressedFiles: List = emptyList() override var collectInheritedExtensionsFromLibraries: Boolean = false override var analysisPlatform: Platform = Platform.DEFAULT - override var targets: List = listOf("JVM") + override var targets: List = emptyList() override var sinceKotlin: String = "1.0" fun sourceRoot(c: Closure) { -- cgit