build-cache-configuration.settings.gradle.kts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Integrate with Gradle Enterprise plugin 3.0 (#11041)

    • -52
    • +0
    ./build-cache-configuration.settings.gradle.kts
  1. … 52 more files in changeset.
Don't redundantly set cache config for buildSrc

Not needed any more

    • -52
    • +0
    ./build-cache-configuration.settings.gradle.kts
  1. … 3 more files in changeset.
Disable local cache in seed build (#8929)

See https://github.com/gradle/gradle-private/issues/2035

We want to disable local cache for the seed build so we can always get remote cache hit/store to delay the cache eviction.

    • -0
    • +9
    ./build-cache-configuration.settings.gradle.kts
  1. … 1 more file in changeset.
Disable local cache in seed build

    • -0
    • +10
    ./build-cache-configuration.settings.gradle.kts
  1. … 1 more file in changeset.
Disable local cache in seed build

    • -0
    • +10
    ./build-cache-configuration.settings.gradle.kts
Disable local cache in seed build

    • -0
    • +9
    ./build-cache-configuration.settings.gradle.kts
  1. … 1 more file in changeset.
Do not disable local cache on CI

We used to disable the local cache on CI for two reasons:

- without a local cache the remote backend learns about every cache reuse, and can prevent evicting an entry that is actually used everywhere,

- storing local results in the cache can lead to different artifacts used for the same cache key on different machines.

These pose some small risk of introducign cache misses, but the downside of not using the local cache is that we download the same artifacts to the same build agent many-many times. Let's see if reintroducing the local cache on CI breaks anything.

    • -6
    • +0
    ./build-cache-configuration.settings.gradle.kts
Move kotlin-dsl in a sub directory

    • -51
    • +0
    ./build-cache-configuration.settings.gradle.kts
  1. … 1579 more files in changeset.
Polish `build-cache-configuration.settings.gradle.kts`

- Favour `e?.let(::constructor)` over `e?.let { constructor(it) }`

- Favour `e in map` over `map.containsKey(e)`

- Simplify complex expression using `run`

- Keep lines under 120 columns

    • -3
    • +5
    ./build-cache-configuration.settings.gradle.kts
Add build cache configuration to the build

    • -0
    • +49
    ./build-cache-configuration.settings.gradle.kts
  1. … 2 more files in changeset.
Restructured top level Gradle dir

- Created init-scripts and shared-with-buildSrc sub directories

- Renamed a couple of scripts from camel case to kebap case

- Moved classycle resources to config directory

- Migrated build-scan-init script to Kotlin

    • -0
    • +49
    ./build-cache-configuration.settings.gradle.kts
  1. … 16 more files in changeset.