Skip to content

Commit

Permalink
Remove redundant notCompatibleWithConfigurationCache calls for Dokka …
Browse files Browse the repository at this point in the history
…tasks (#6786)

Configuration cache is still not supported but the Dokka plugin takes care
of declaring the incompatibility since v1.9.10.

https://github.com/Kotlin/dokka/releases/tag/v1.9.10
  • Loading branch information
3flex committed Mar 4, 2024
1 parent b34cec2 commit 1912058
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions build-logic/src/main/kotlin/public-api.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.dokka.gradle.DokkaTaskPartial

plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator")
Expand All @@ -9,7 +8,3 @@ plugins {
tasks.withType<DokkaTask>().configureEach {
failOnWarning = true
}

tasks.withType<DokkaTaskPartial>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/Kotlin/dokka/issues/1217")
}
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
}

tasks.withType<DokkaMultiModuleTask>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/Kotlin/dokka/issues/1217")
outputDirectory = layout.projectDirectory.dir("website/static/kdoc")
}

Expand Down
1 change: 0 additions & 1 deletion detekt-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ tasks {
suppressInheritedMembers = true
failOnWarning = true
outputDirectory = layout.projectDirectory.dir("../website/static/kdoc/detekt-gradle-plugin")
notCompatibleWithConfigurationCache("https://github.com/Kotlin/dokka/issues/1217")

dokkaSourceSets.configureEach {
apiVersion = "1.4"
Expand Down

0 comments on commit 1912058

Please sign in to comment.