InstantExecutionStartParameter.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move ServiceScope and EventScope to :base-annotations

Here we are sharing the concept of event and service scopes by making scopes themselves extensible. This is achieved by replacing the single enum with types. The scope types inherit each other, representing the inheritance between scopes.

  1. … 97 more files in changeset.
Add `StartParameter.projectDir` to the configuration cache fingerprint

  1. … 2 more files in changeset.
Add Gradle user home directory to the configuration cache fingerprint

  1. … 5 more files in changeset.
Invalidate configuration cache entry when `--write-locks` or `--update-locks` are used.

  1. … 2 more files in changeset.
Invalidate configuration cache entry when `--write-locks` or `--update-locks` are used.

  1. … 2 more files in changeset.
Invalidate configuration cache entry when `--write-locks` or `--update-locks` are used.

  1. … 2 more files in changeset.
Always instrument build logic, regardless of whether the configuration cache is enabled or not.

This change means that the same class paths and `ClassLoader` hierarchy are used regardless of whether or not the configuration cache is enabled. It also means that some cross-cutting instrumentation can later be added.

    • -12
    • +1
    ./InstantExecutionStartParameter.kt
  1. … 8 more files in changeset.
Always instrument build logic, regardless of whether the configuration cache is enabled or not.

This change means that the same class paths and `ClassLoader` hierarchy are used regardless of whether or not the configuration cache is enabled. It also means that some cross-cutting instrumentation can later be added.

    • -12
    • +1
    ./InstantExecutionStartParameter.kt
  1. … 7 more files in changeset.
Always instrument build logic, regardless of whether the configuration cache is enabled or not.

This change means that the same class paths and `ClassLoader` hierarchy are used regardless of whether or not the configuration cache is enabled. It also means that some cross-cutting instrumentation can later be added.

    • -12
    • +1
    ./InstantExecutionStartParameter.kt
  1. … 7 more files in changeset.
Merge branch 'master' into eskatos/cc/rework-build-options

    • -35
    • +6
    ./InstantExecutionStartParameter.kt
  1. … 2 more files in changeset.
Merge branch 'master' into eskatos/cc/rework-build-options

    • -35
    • +6
    ./InstantExecutionStartParameter.kt
  1. … 1 more file in changeset.
Extract cache key calculation from start parameter

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

    • -37
    • +6
    ./InstantExecutionStartParameter.kt
  1. … 4 more files in changeset.
Rework configuration cache build options

Move from:

--configuration-cache=[off|on|warn]

To:

--configuration-cache / --no-configuration-cache

--configuration-cache-problems=[fail|warn]

Previous command line options aren't supported anymore.

Previous properties are still supported but deprecated.

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

  1. … 4 more files in changeset.
Move GradleVersion from cache path to configuration cache key

in order to simplify cleanup, manual or automatic

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<hash>/state.bin

.gradle/configuration-cache/<hash>/fingerprint.bin

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

  1. … 1 more file in changeset.
Move GradleVersion from cache path to configuration cache key

in order to simplify cleanup, manual or automatic

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<hash>/state.bin

.gradle/configuration-cache/<hash>/fingerprint.bin

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

  1. … 1 more file in changeset.
Do not cast StartParameter in InstantExecutionStartParameter

Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 8 more files in changeset.
Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 12 more files in changeset.
Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 8 more files in changeset.
Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 12 more files in changeset.
Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 8 more files in changeset.
Temporarily disable instrumentation of build logic added via the build script classpath when configuration caching is not enabled.

Other build logic is still instrumented.

    • -1
    • +15
    ./InstantExecutionStartParameter.kt
  1. … 8 more files in changeset.
Merge configuration cache cli opts to --configuration-cache=[off|on|warn]

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

  1. … 24 more files in changeset.
Let quiet configuration cache be a build option without command line flag

for uniformity

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

    • -10
    • +1
    ./InstantExecutionStartParameter.kt
  1. … 5 more files in changeset.
Refine InstantExecutionStartParameter

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

Add --configuration-cache-recreate-cache build option

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

  1. … 5 more files in changeset.
Add configuration cache build option

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

    • -12
    • +8
    ./InstantExecutionStartParameter.kt
  1. … 29 more files in changeset.
Remove now unneeded extra system property lookup

in InstantExecutionStartParameter

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

Remove now unneeded extra system property lookup

in InstantExecutionStartParameter

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

Remove now unneeded extra system property lookup

in InstantExecutionStartParameter

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