kotlin-compiler-embeddable

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
TEMPORARY COMMIT

    • -0
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 9 more files in changeset.
Upgrade embedded Kotlin version to 1.3.50

See https://blog.jetbrains.com/kotlin/2019/08/kotlin-1-3-50-released/

    • -0
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 9 more files in changeset.
TEMPORARY COMMIT

    • -0
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 9 more files in changeset.
TEMPORARY COMMIT

    • -0
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 9 more files in changeset.
Identify license information for all dependencies

    • -1
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 3 more files in changeset.
Change all subprojects to use 'implementation' dependencies

This includes:

- All projects now explicitly declare all dependencies to other

subprojects. This makes issues more visible, guards for accidental

addition of new dependencies, and leaks much less transitive

dependencies on the compile classpathes.

- All usages of 'runtime' to declare dependencies have been replaced

with 'runtimeOnly'

- All projects are now `java-library` (and declare this explicitly)

- Most remaining Groovy scripts are translated to Kotlin

- The old 'compile' and 'runtime' configurations are not

configured/created anymore for the 'testFixture' and 'integTest'

source sets.

- Some obsolete dependencies (see previous commits) are removed

- 'api' is used scarcely on purpose as the current project structure is

not well designed for this. The projects contain code for several

concerns of the build tool and thus putting complete projects on the

API of others exposes too much. They should be split up along

functional concerns first.

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 112 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -7
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 285 more files in changeset.
Fix module type of kotlin-compiler-embeddable subproject

    • -1
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
Refine :kCE:patchKotlinCompilerEmbeddable task

by turning additionnalFiles into a FileCollection

renamed to additionnalRootFiles for clarity

using @PathSensitive(PathSensitivity.NAME_ONLY)

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

    • -1
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 1 more file in changeset.
Make patchKotlinCompilerEmbeddable depend on classpathManifest (#8734)

This fixes https://github.com/gradle/gradle-private/issues/1930

Previously, `:kotlinCompilerEmbeddable:patchKotlinCompilerEmbeddable` doesn't depends

on `:kotlinCompilerEmbeddable:classpathManifest`, which may result in the patched kotlin jar

not including classpath property files. This commit fixes this issue by making implicit dependencies.

    • -3
    • +2
    ./kotlin-compiler-embeddable.gradle.kts
Make patchKotlinCompilerEmbeddable depend on classpathManifest (#8734)

This fixes https://github.com/gradle/gradle-private/issues/1930

Previously, `:kotlinCompilerEmbeddable:patchKotlinCompilerEmbeddable` doesn't depends

on `:kotlinCompilerEmbeddable:classpathManifest`, which may result in the patched kotlin jar

not including classpath property files. This commit fixes this issue by making implicit dependencies.

    • -3
    • +2
    ./kotlin-compiler-embeddable.gradle.kts
Make patchKotlinCompilerEmbeddable depend on classpathManifest

Previously, :kotlinCompilerEmbeddable:patchKotlinCompilerEmbeddable doesn't depends

on :kotlinCompilerEmbeddable:classpathManifest, which may result in the patched kotlin jar

not including classpath property files. This commit fixes this issue by making implicit dependencies.

    • -3
    • +2
    ./kotlin-compiler-embeddable.gradle.kts
Polish :kotlinCompilerEmbeddable build script

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

    • -10
    • +13
    ./kotlin-compiler-embeddable.gradle.kts
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>

    • -4
    • +0
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 1 more file in changeset.
Don't retry

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

    • -1
    • +1
    ./kotlin-compiler-embeddable.gradle.kts
:kotlinCompilerEmbeddable:clean retries + more diagnostics

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

    • -6
    • +25
    ./kotlin-compiler-embeddable.gradle.kts
Let :kotlinCompilerEmbeddable:clean log each failed to delete path

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

    • -0
    • +46
    ./kotlin-compiler-embeddable.gradle.kts
Remove IJ workaround and rework :kotlinCompilerEmbeddable build logic

See 35948c40b8a

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

    • -15
    • +5
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 1 more file in changeset.
Revert "Disable :kotlinCompilerEmbeddable:unpackPatched workaround for IJ"

This reverts commit 353f93f0abec647e8df88406d616411c1a0571cb.

    • -2
    • +0
    ./kotlin-compiler-embeddable.gradle.kts
Disable :kotlinCompilerEmbeddable:unpackPatched workaround for IJ

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

    • -0
    • +2
    ./kotlin-compiler-embeddable.gradle.kts
Revert "Disable :kotlinCompilerEmbeddable:clean"

This reverts commit 4bbd3ccdf297bce86bb342da39b928fb20ac14cd.

    • -4
    • +0
    ./kotlin-compiler-embeddable.gradle.kts
Disable :kotlinCompilerEmbeddable:clean

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

    • -0
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
Disable :kotlinCompilerEmbeddable:clean

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

    • -0
    • +4
    ./kotlin-compiler-embeddable.gradle.kts
Fix kotlin-compiler-embeddable available in IJ after :kotlinDSl* merge

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

    • -0
    • +12
    ./kotlin-compiler-embeddable.gradle.kts
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>

    • -1
    • +7
    ./kotlin-compiler-embeddable.gradle.kts
  1. … 1 more file in changeset.