Skip to content

Commit

Permalink
remove build cache config from non-root settings
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-enko committed Jan 17, 2024
1 parent 5930267 commit 468dcd5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import DokkaBuildSettingsProperties.Companion.dokkaBuildSettingsProperties
*
* See [DokkaBuildSettingsProperties] for properties.
*
* Because Dokka uses Composite Builds, Build Cache should only be configured on the root `settings.gradle.kts`.
* See https://docs.gradle.org/8.4/userguide/build_cache.html#sec:build_cache_composite.
*
* Based on https://github.com/JetBrains/kotlin/blob/2675531624d42851af502a993bbefd65ee3e38ef/repo/gradle-settings-conventions/build-cache/src/main/kotlin/build-cache.settings.gradle.kts
*/

Expand Down
2 changes: 1 addition & 1 deletion dokka-integration-tests/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("dokkasettings.gradle-enterprise")
id("dokkasettings.build-cache")
}

dependencyResolutionManagement {
repositories {
mavenCentral()
Expand Down
1 change: 0 additions & 1 deletion dokka-runners/runner-cli/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("dokkasettings.gradle-enterprise")
id("dokkasettings.build-cache")
}

dependencyResolutionManagement {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("dokkasettings.gradle-enterprise")
id("dokkasettings.build-cache")
}

dependencyResolutionManagement {
Expand Down
1 change: 0 additions & 1 deletion dokka-runners/runner-maven-plugin/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("dokkasettings.gradle-enterprise")
id("dokkasettings.build-cache")
}

dependencyResolutionManagement {
Expand Down

0 comments on commit 468dcd5

Please sign in to comment.