Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update scan support for Gradle Enterprise plugin 3.0

Gradle 6 is now only compatible with this plugin.

  1. … 35 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. … 72 more files in changeset.
Make paths/names of included builds immutable

  1. … 32 more files in changeset.
Upgrade embedded Kotlin to 1.3.60-eap-23

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

  1. … 3 more files in changeset.
Upgrade embedded Kotlin to 1.3.60-eap-23

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

  1. … 3 more files in changeset.
Upgrade embedded Kotlin to 1.3.60-eap-23

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

  1. … 3 more files in changeset.
Upgrade embedded Kotlin to 1.3.60-eap-23

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

  1. … 3 more files in changeset.
Polish ResolverCoordinatorTest

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

Polish ResolverCoordinatorTest

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. … 2 more files in changeset.
Polish `ScriptApiTest`

Polish `ResidualProgramCompilerTest`

- Remove spurious empty line

Remove `ScriptApi` interface and use `KotlinScript` instead

  1. … 1 more file in changeset.
Restore Kotlin DSL script deps resolver short circuit

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

  1. … 3 more files in changeset.
Restore Kotlin DSL script deps resolver short circuit

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

  1. … 3 more files in changeset.
Polish `TestWithCompiler`

- Reuse `PluginManagementSpec` mock

Polish `ParserToCompilerTest`

Let `pluginManagement` Kotlin script template have an implicit `Settings` receiver

  1. … 2 more files in changeset.
Merge branch 'release' into bamboo/kotlin-dsl/implicit-receivers

  1. … 3 more files in changeset.
Minor formatting changes in kotlin sources

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

    • -0
    • +1
    ./org/gradle/kotlin/dsl/execution/LexerTest.kt
  1. … 3 more files in changeset.
Let Kotlin settings script template for `pluginManagement` block implement the Kotlin script API

  1. … 1 more file in changeset.
Let Kotlin build scripts honor the common `KotlinScript` contract

  1. … 3 more files in changeset.
Polish `KotlinScript` and family

- Better and more uniform names

  1. … 5 more files in changeset.
Polish `KotlinScript` and family

- Better and more uniform names

  1. … 5 more files in changeset.
Let precompiled project scripts support the Kotlin script API

  1. … 1 more file in changeset.
Prove Kotlin settings scripts support the Kotlin script API

Let precompiled init scripts support the Kotlin script API

  1. … 1 more file in changeset.
Let Kotlin settings script honor the common `KotlinScript` contract

  1. … 3 more files in changeset.
Introduce `KotlinScript` contract and implement it for Kotlin init scripts

  1. … 3 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

    • -5
    • +7
    ./org/gradle/kotlin/dsl/execution/LexerTest.kt
  1. … 13 more files in changeset.