Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add a registry of shared "services" to the `Gradle` object. These are intended to be used by plugins to represent some service or state that is shared by tasks.

  1. … 12 more files in changeset.
Ensure `settings.gradle.kts` with `pluginManagement` block honors auto-applied plugins

Make `settings.gradle.kts` evaluation trigger auto-applied plugins

Restore `build-scan` plugin syntax in Kotlin scripts

Closes #11095

  1. … 1 more file in changeset.
Remove `platform` dsl from constraint handler

These shortcuts define details of a dependency like attributes,

requested capabilities and 'endorse strict' status. These things

can not be defined on constraints. So these methods only cause

inconsistent behavior.

One can use constraints in combination with platforms like this to

control platform versions:

dependencies {

api platform("org:platform")

constraints {

api "org:platform:1.0"



  1. … 12 more files in changeset.
Integrate with Gradle Enterprise plugin 3.0 (#11041)

  1. … 50 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. … 70 more files in changeset.
Polish `Interpreter.kt`

- Remove shadowed name warning via method reference

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 <>

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

Make `Project.plugins { }` extension a top-level function

Fail to compile nested `plugins` blocks in Kotlin scripts

  1. … 1 more file in changeset.
Polish ResolverEnvironment

Signed-off-by: Paul Merlin <>

Remove now unused ResolverAction.Return

Signed-off-by: Paul Merlin <>

Polish ResolverCoordinatorTest

Signed-off-by: Paul Merlin <>

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 <>

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


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

provides a clear opportunity for users to understand the equivalence

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

Polish `ScriptApiTest`

Polish `ResidualProgramCompilerTest`

- Remove spurious empty line

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

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

Restore Kotlin DSL script deps resolver short circuit

Signed-off-by: Paul Merlin <>

Remove deprecation of classes still used by the IDE script templates

Polish `KotlinSettingsScriptIntegrationTest`