Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `platform` and `enforcePlatform` 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. … 3 more files in changeset.
Integrate with Gradle Enterprise plugin 3.0 (#11041)

  1. … 50 more files in changeset.
Merge remote-tracking branch 'origin/release-5.6' into release

* origin/release-5.6: (53 commits)

Add missing - to CI config

Use dedicated user with token-based authentication to execute… (#11044)

Restore behavior of pom packaging changing the main artifact extension

Backport test fixture improvements from 6.0 branch

Relax flaky test expectation

Add equality check in case update() is called twice for the same input

Fix code comment

Add missing hashCode() method

Add test coverage to pin down selector sorting behavior

Track 'changing' and 'client module' information for override metadata

Fix equals() of client module

Remove duplicated 'isKeyEquals' check

Do not expect an exact number of HEAD requests

Remove unused imports

Make http server fixture's handle() thread safe

Add integration test for dependency artifacts in multiple declarations

Avoid copying an already immutable list

Use a linked hash set for dependency artifacts

Support artifacts with different names in maven module fixture

Use the first found dependency artifact for override metadata

...

  1. … 2 more files in changeset.
Fix test

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

Gradle 6 is now only compatible with this plugin.

  1. … 33 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.
Revert unneeded changes in tests

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

  1. … 9 more files in changeset.
Revert unneeded changes in tests

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

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

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

Report script diagnostics to the host

Start migrating the `KotlinBuildScript` template to the new API

Add the kotlin-eap repo to all Kotlin DSL scripts buildscript scriptHandler

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

Add the kotlin-eap repo to all Kotlin DSL scripts buildscript scriptHandler

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

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.
Uniformly use RepoScriptBlockUtil in Kotlin DSL tests

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

  1. … 4 more files in changeset.
Uniformly use RepoScriptBlockUtil in Kotlin DSL tests

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

  1. … 4 more files in changeset.
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
    ./main/kotlin/org/gradle/kotlin/dsl/MyKotlinScript.kt
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 <paul@gradle.com>

  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.
Fail to compile nested `plugins` blocks in Kotlin scripts

  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>