diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-07 17:52:13 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-07 17:52:13 +0300 |
commit | 6300b94ac84133dd3ec7e87752f133832d4b7642 (patch) | |
tree | bcbb5739221928b323e474db9420f5add073e7f3 /runners/gradle-plugin/src/main/kotlin | |
parent | fff865cb03d406a07190ad15a9cbf81cb4cfa36a (diff) | |
download | dokka-6300b94ac84133dd3ec7e87752f133832d4b7642.tar.gz dokka-6300b94ac84133dd3ec7e87752f133832d4b7642.tar.bz2 dokka-6300b94ac84133dd3ec7e87752f133832d4b7642.zip |
Add missing @Optional to cacheRoot parameter
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/main.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt index ad5f3038..61c83de4 100644 --- a/runners/gradle-plugin/src/main/kotlin/main.kt +++ b/runners/gradle-plugin/src/main/kotlin/main.kt @@ -8,6 +8,7 @@ import org.gradle.api.file.FileCollection import org.gradle.api.plugins.JavaBasePlugin import org.gradle.api.plugins.JavaPluginConvention import org.gradle.api.tasks.* +import org.gradle.api.tasks.Optional import org.jetbrains.dokka.DokkaBootstrap import org.jetbrains.dokka.DokkaConfiguration import org.jetbrains.dokka.SerializeOnlyDokkaConfiguration @@ -89,7 +90,7 @@ open class DokkaTask : DefaultTask() { @Input var noStdlibLink: Boolean = false - @Input var cacheRoot: String? = null + @Optional @Input var cacheRoot: String? = null protected open val sdkProvider: SdkProvider? = null |