diff options
Diffstat (limited to 'runners/gradle-plugin/src')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt index c30fc181..ba324057 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt @@ -108,7 +108,7 @@ open class DokkaPlugin : Plugin<Project> { tasks.withType<AbstractDokkaTask>().configureEach { val formatClassifier = name.removePrefix("dokka").decapitalize() outputDirectory.convention(project.layout.buildDirectory.dir("dokka/$formatClassifier")) - cacheRoot.set(DokkaDefaults.cacheRoot) + cacheRoot.convention(project.layout.dir(providers.provider { DokkaDefaults.cacheRoot })) } } |