diff options
author | aSemy <897017+aSemy@users.noreply.github.com> | 2023-04-25 21:12:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 21:12:43 +0200 |
commit | 609c5469bbc0ba3516e760c6e61cf7df2b5c7ff7 (patch) | |
tree | fa21f96edf0fd8256a02a639e5c7eb01c1fafe05 /runners/gradle-plugin | |
parent | 5315c6a8cf2e08947dc013fdd60f293f76a0a1bd (diff) | |
download | dokka-609c5469bbc0ba3516e760c6e61cf7df2b5c7ff7.tar.gz dokka-609c5469bbc0ba3516e760c6e61cf7df2b5c7ff7.tar.bz2 dokka-609c5469bbc0ba3516e760c6e61cf7df2b5c7ff7.zip |
Set cacheRoot using `convention()`, not `set()` (#2983)
Diffstat (limited to 'runners/gradle-plugin')
-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 })) } } |