Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let kotlin parser used in binary compatibility check work on windows

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

Let kotlin parser used in binary compatibility check work on windows

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

Let kotlin source parsing for binary compatibility check work on windows

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

Extract Kotlin compiler configuration for the Gradle build

from the `kotlin-library` plugin

and the `KotlinSourceParser`

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

    • -0
    • +57
    ./kotlin/build/KotlinCompilerConfiguration.kt
    • -13
    • +3
    ./kotlin/parser/KotlinSourceParser.kt
    • -10
    • +3
    ./kotlin/plugins/kotlin-library.gradle.kts
Align Kotlin parser compiler configuration with `kotlin-library` plugin

for the binary compatibility check

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

    • -12
    • +6
    ./kotlin/parser/KotlinSourceParser.kt
Let `ParameterNamesIndex` declare a `CompileClasspath` input

Let `ParameterNamesIndex` declare a `CompileClasspath` input

Introduce support for Kotlin code in binary compatibility check

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

    • -8
    • +52
    ./kotlin/parser/KotlinSourceParser.kt
  1. … 21 more files in changeset.
Warn on unexpected version of the `kotlin-dsl` plugin

    • -0
    • +75
    ./kotlin/codegen/CodeGenerationTask.kt
    • -59
    • +13
    ./kotlin/codegen/GenerateKotlinDependencyExtensions.kt
    • -0
    • +42
    ./kotlin/codegen/GenerateKotlinDslPluginsExtensions.kt
  1. … 4 more files in changeset.
Introduce constant with the expected `kotlin-dsl` plugins version

In `org.gradle.kotlin.dsl.support` so it's not considered part of the

public API.

    • -6
    • +45
    ./kotlin/codegen/GenerateKotlinDependencyExtensions.kt
  1. … 1 more file in changeset.
Remove comment on how to use different kotlin-dsl plugin versions

    • -8
    • +0
    ./kotlin/codegen/GenerateKotlinDependencyExtensions.kt
Revert "Revert "Take advantage of type-safe accessors in precompiled script plugins""

This reverts commit cbe1b9ed3f28e6fb39feaba56e8140f490dc5a6b.

    • -1
    • +1
    ./kotlin/plugins/kotlin-dsl-plugin-bundle.gradle.kts
  1. … 3 more files in changeset.
Revert "Take advantage of type-safe accessors in precompiled script plugins"

    • -1
    • +1
    ./kotlin/plugins/kotlin-dsl-plugin-bundle.gradle.kts
  1. … 3 more files in changeset.
Exclude :kotlinDslPlugins DSL types for now

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

Include the Kotlin DSL public API in checkBinaryCompatibility

excluding Kotlin classes for inlined functions

and ignoring checks that require parsing the Kotlin sources

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

    • -0
    • +29
    ./kotlin/PublicKotlinDslApi.kt
  1. … 5 more files in changeset.
Remove the API parameter names JARs

In order to enable code navigation and refactoring across Kotlin DSL

project boundaries.

The need for parameter names JARs has been mitigated by removing

usages of Kotlin interface delegation from the public API and

implementing the required interfaces explicitly.

Resolves #1360

    • -238
    • +0
    ./kotlin/build/AddGradleApiParameterNames.kt
  1. … 23 more files in changeset.
Take advantage of type-safe accessors in precompiled script plugins

    • -1
    • +1
    ./kotlin/plugins/kotlin-dsl-plugin-bundle.gradle.kts
Take advantage of type-safe accessors in precompiled script plugins

    • -1
    • +1
    ./kotlin/plugins/kotlin-dsl-plugin-bundle.gradle.kts
Polish `GenerateKotlinDependencyExtensions`

- Make all task inputs `Property<T>`

- Let Gradle provide the properties

    • -4
    • +8
    ./kotlin/codegen/GenerateKotlinDependencyExtensions.kt
  1. … 1 more file in changeset.
Prefer abstract task properties where applicable

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

    • -2
    • +3
    ./kotlin/build/PatchKotlinCompilerEmbeddable.kt
Prefer abstract task properties where applicable

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

    • -10
    • +13
    ./kotlin/build/PatchKotlinCompilerEmbeddable.kt
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>

    • -20
    • +19
    ./kotlin/build/PatchKotlinCompilerEmbeddable.kt
  1. … 1 more file in changeset.
Move `kotlinDsl` generated sources to `$buildDir/generated-sources`

And remove no longer necessary `clean` task configuration.

    • -4
    • +3
    ./kotlin/codegen/GenerateKotlinDependencyExtensions.kt
  1. … 1 more file in changeset.
Infer parameters from action

    • -14
    • +7
    ./kotlin/build/AddGradleApiParameterNames.kt
  1. … 10 more files in changeset.
Rename all registered types to be without suffix

    • -0
    • +245
    ./kotlin/build/AddGradleApiParameterNames.kt
    • -245
    • +0
    ./kotlin/build/GradleApiParameterNamesTransform.kt
  1. … 10 more files in changeset.
Migrate api parameter names transform to new API

    • -23
    • +43
    ./kotlin/build/GradleApiParameterNamesTransform.kt
Tighten KotlinSourceParser

removing all unneeded stuff

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

    • -43
    • +0
    ./kotlin/parser/KotlinSourceParser.kt
First cut of Kotlin support in incubation report

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

    • -0
    • +120
    ./kotlin/parser/KotlinSourceParser.kt
  1. … 3 more files in changeset.
Add a build step which reruns previous failed test classes (#8470)

This closes https://github.com/gradle/gradle-private/issues/1774

We've been bitten by flaky tests for a long time. This PR adds an extra build step which reruns failed test classes again.

  1. … 3 more files in changeset.
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
    ./kotlin/build/CheckKotlinCompilerEmbeddableDependencies.kt
  1. … 1 more file in changeset.