CheckKotlinCompilerEmbeddableDependencies.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refine CheckKotlinCompilerEmbeddableDependencies task

to make its failure message more actionable

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

    • -4
    • +4
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Refine CheckKotlinCompilerEmbeddableDependencies task

to make its failure message more actionable

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

    • -4
    • +4
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Refine CheckKotlinCompilerEmbeddableDependencies task

to make its failure message more actionable

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

    • -4
    • +4
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Refine CheckKotlinCompilerEmbeddableDependencies task

to make its failure message more actionable

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

    • -4
    • +4
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Fix and re-enable :kotlinCompilerEmbeddable:clean

The CheckKotlinCompilerEmbeddableDependencies task had a property

getter calling DefaultTask.getTemporaryDir() which has the side effect

of creating that directory on each call. It happened very often that

this getter was called concurrently to the clean task, by overlapping

outputs detection maybe, causing the clean task to fail with "unable to

delete file".

This commit changes that task property to a simple field with no side

effects, moving the directory creation to the task action.

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

    • -5
    • +6
    ./CheckKotlinCompilerEmbeddableDependencies.kt
  1. … 1 more file in changeset.
Cleanup

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

    • -4
    • +2
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Fix mistake

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

    • -0
    • +1
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Don't use DefaultTask.getTemporaryDir() in a task property

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

    • -1
    • +1
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Rename task field for clarity

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

    • -3
    • +3
    ./CheckKotlinCompilerEmbeddableDependencies.kt
Validate :kotlinCompilerEmbeddable deps are aligned with the original

In order to ease Kotlin upgrades by failing the build if the

dependencies aren't aligned.

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

    • -0
    • +62
    ./CheckKotlinCompilerEmbeddableDependencies.kt
  1. … 1 more file in changeset.