Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Integrate with Gradle Enterprise plugin 3.0 (#11041)

  1. … 51 more files in changeset.
Update scan support for Gradle Enterprise plugin 3.0

Gradle 6 is now only compatible with this plugin.

  1. … 34 more files in changeset.
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

  1. … 71 more files in changeset.
Make paths/names of included builds immutable

  1. … 31 more files in changeset.
Mark `KotlinBuildScript` as `@since 6.0` to silence binary compatibility errors

    • -0
    • +4
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
Report script diagnostics to the host

    • -103
    • +1
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
    • -0
    • +143
    ./gradle/kotlin/dsl/support/CompilationConfigurations.kt
Start migrating the `KotlinBuildScript` template to the new API

    • -28
    • +117
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
  1. … 1 more file in changeset.
Add the kotlin-eap repo to all Kotlin DSL scripts buildscript scriptHandler

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

Polish `MyKotlinScript.kt`

Experiment with new Kotlin script template API

The new template kicks-in for scripts named `*.my.kts` anywhere in a project.

    • -0
    • +72
    ./gradle/kotlin/dsl/MyKotlinScript.kt
  1. … 1 more file in changeset.
Polish `Interpreter.kt`

- Remove shadowed name warning via method reference

    • -3
    • +3
    ./gradle/kotlin/dsl/execution/Interpreter.kt
Revert "Merge pull request #10954 from gradle/eskatos/kotlin-dsl/new-tapi-model-in-tooling-api-jar"

This reverts commit 00cdf938c0d9df3786760adeecf9c2e7d45bff78, reversing

changes made to 28d5b62f4ac9b3b57b57c5b625869516198ed836.

  1. … 20 more files in changeset.
Move model parameters declaration to :toolingApi

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

  1. … 6 more files in changeset.
Add missing `@Incubating` annotation

    • -0
    • +3
    ./gradle/kotlin/dsl/ProjectExtensions.kt
Make `Project.plugins { }` extension a top-level function

    • -22
    • +0
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
    • -0
    • +26
    ./gradle/kotlin/dsl/ProjectExtensions.kt
Fail to compile nested `plugins` blocks in Kotlin scripts

    • -0
    • +24
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
  1. … 1 more file in changeset.
Fail to compile nested `plugins` blocks in Kotlin scripts

    • -0
    • +24
    ./gradle/kotlin/dsl/KotlinBuildScript.kt
  1. … 1 more file in changeset.
Polish ResolverEnvironment

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

Remove now unused ResolverAction.Return

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

Remove now unused ResolverAction.Return

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

Put short-circuit behing an IDE flag

Next IJ release will make use of that flag.

It is unset by default, disabling the reintroduced short-circuit,

in order not to break users of existing IJ versions.

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

Put short-circuit behing an IDE flag

Next IJ release will make use of that flag.

It is unset by default, disabling the reintroduced short-circuit,

in order not to break users of existing IJ versions.

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

Prefer `Action<T>` over `T.() -> Unit` for the Kotlin script API

From the perspective of an user of the API both types are effectively

the same.

From a compile time and runtime perspective `Action<T>` seems a better

choice as values can be passed to the core Gradle API directly.

From an API consistency point of view `Action<T>` also looks like the

superior choice as it is more consistent with the rest of the Gradle

API.

And finally, from an user education perspective, `KotlinScript`

provides a clear opportunity for users to understand the equivalence

between `Action<T>` and `T.() -> Unit`.

  1. … 1 more file in changeset.
Let precompiled script templates support the `ObjectConfigurationAction` syntax

  1. … 1 more file in changeset.
Polish `PrecompiledScriptTemplates.kt`

- Reduce member visibility

Let precompiled project script template support `ObjectConfigurationAction` syntax

  1. … 1 more file in changeset.
Remove deprecation from script template used for content assistance

    • -1
    • +0
    ./gradle/kotlin/dsl/KotlinInitScript.kt
Polish `ResidualProgramCompiler`

- Add message to TODO exception

- Reduce member visibility

Move deprecation explanation from KDOC comment into annotation

Remove `ScriptApi` interface and use `KotlinScript` instead

    • -81
    • +0
    ./gradle/kotlin/dsl/provider/ScriptApi.kt
  1. … 1 more file in changeset.