BuildCacheIntegrationTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Fix usages of the build scan plugin with version 2.0

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 2 more files in changeset.
Revert "Temporarily ignore Build Scans related tests"

This reverts commit db691c235e372093d39e8f10d0ff94074882755a.

  1. … 2 more files in changeset.
Temporarily ignore Build Scans related tests

This version of Gradle requires version 2.0 of the build scan plugin or later.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 2 more files in changeset.
Let build cache integration be disabled via system property

Before this commit, build cache integration had to be explicitly

enabled for Kotlin DSL scripts by setting the value of the system

property `org.gradle.kotlin.dsl.caching.buildcache` to `true`.

With this commit, build cache integration is enabled by default and

can be disabled by setting the value of said system property to

`false`.

  1. … 1 more file in changeset.
Prove scripts with generated accessors can be cached

See #1123

Fix `DependencyManagementIntegrationTest` on Windows

  1. … 5 more files in changeset.
Polish `BuildCacheIntegrationTest`

Prove build cache integration works across different project roots

  1. … 1 more file in changeset.
Unignore integration test for script caching with `--scan`

Unignore integration test for script caching with `--scan`

Let build cache integration be enabled via system property instead of project property

And prove it can be enabled via `$GRADLE_HOME/gradle.properties`.

See #1032

  1. … 2 more files in changeset.
Ignore test that requires new build-scan version

Preserve and return a proper `OriginTaskExecutionMetadata` value

That's better behaviour but it still doesn't fix the interaction with

the `build-scan` plugin. That will require removing an assumption from

the plugin about caching operations only happening during task

execution.

  1. … 4 more files in changeset.
Annotate `BuildCacheIntegrationTest` with `LeaksFileHandles`

Let `Project` scripts be cached in the Gradle build cache

If the build cache is enabled and the Gradle property

`org.gradle.kotlin.dsl.caching.buildcache` is set to true.

    • -0
    • +100
    ./BuildCacheIntegrationTest.kt
  1. … 12 more files in changeset.