Skip to content

Commit

Permalink
Set cacheRoot using convention(), not set() (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Apr 25, 2023
1 parent 5315c6a commit 609c546
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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 }))
}
}

Expand Down

0 comments on commit 609c546

Please sign in to comment.