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

    • -7
    • +7
    ./dsl/PluginDependenciesSpecScopeTest.kt
  1. … 52 more files in changeset.
Fix test

    • -4
    • +4
    ./dsl/PluginDependenciesSpecScopeTest.kt
  1. … 1 more file in changeset.
Update scan support for Gradle Enterprise plugin 3.0

Gradle 6 is now only compatible with this plugin.

    • -4
    • +4
    ./dsl/PluginDependenciesSpecScopeTest.kt
  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
    • +1
    ./dsl/codegen/GradleApiExtensionsTest.kt
  1. … 3 more files in changeset.
Polish ResolverCoordinatorTest

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

    • -4
    • +6
    ./dsl/resolver/ResolverCoordinatorTest.kt
Polish ResolverCoordinatorTest

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

    • -4
    • +6
    ./dsl/resolver/ResolverCoordinatorTest.kt
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>

    • -0
    • +83
    ./dsl/resolver/ResolverCoordinatorTest.kt
  1. … 3 more files in changeset.
Restore Kotlin DSL script deps resolver short circuit

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

    • -0
    • +83
    ./dsl/resolver/ResolverCoordinatorTest.kt
  1. … 3 more files in changeset.
Polish `TestWithCompiler`

- Reuse `PluginManagementSpec` mock

Polish `ParserToCompilerTest`

    • -20
    • +15
    ./dsl/execution/ParserToCompilerTest.kt
Let `pluginManagement` Kotlin script template have an implicit `Settings` receiver

    • -5
    • +12
    ./dsl/execution/TestWithCompiler.kt
  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>

  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.

    • -1
    • +3
    ./dsl/PluginDependenciesSpecScopeTest.kt
    • -0
    • +116
    ./dsl/execution/ParserToCompilerTest.kt
    • -2
    • +37
    ./dsl/execution/ProgramParserTest.kt
  1. … 13 more files in changeset.
Remove core interfaces from precompiled Kotlin script template type hierarchy

Support for a common script API will come in a subsequent commit.

  1. … 9 more files in changeset.