aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
Diffstat (limited to 'runners')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt3
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