Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not fail if target module version doesn't exist when aligning

Align dependencies which have the same group

This commit introduces basic dependency alignment: when a dependency is resolved,

we check its incoming edges, and if one of the sources has the same group as the

resolved dependency, then we add a synthetic alignment edge to the target, so that

we can align it.

Revert "Use Lookup instead of reflection on Java 9+ (#5749)"

This reverts commit 3db6e256987053171178aa96a0ef46caedc8d1a4.

This causes IDE import broken.

Use immutable file collections whenever possible (#5797)

- Stop DefaultProject implementing FileOperations/ProcessOperations

- Stop BasicScript implementing FileOperations/ProcessOperations

- FileResovler.resolveUri() is not nullable

  1. … 24 more files in changeset.
Hackily unblock the build

Revert this later

Merge remote-tracking branch 'origin/release'

* origin/release:

Add link to native release notes

Use Lookup instead of reflection on Java 9+ (#5749)

Tweak release notes for dependency insight report

De-incubate dependency insight report

Expose the task name through the `TaskProvider`

Wire `FileCollection` to task dependency when constructed from `TaskProvider`

Add link to native release notes

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md
Merge pull request #5794 from gradle/lacasseio/core/add-get-name-to-task-provider

Expose the task name through the `TaskProvider`

Merge pull request #5793 from gradle/lacasseio/core/task-provider-input

Wire `FileCollection` to task dependency when constructed from `TaskProvider`

Recognize Ben McCann in release note

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Decouple Play and Twirl (#2062)

This change fixes support for Play 2.6 which is currently using the Play 2.3 import list.

This also theoretically makes it so that you can use varying versions of Twirl with a given version of Play, which is something that makes upgrades between Play versions easier, allows for pulling in bug fixes for Twirl separately, and is something supported by the SBT plugin.

This changes the imports to a List from which the concatenated string version is then constructed. This change is necessary because Twirl 1.3 expects a List. (Well maybe not strictly necessary as I could explode the concatenated string version into a List, but that wouldn't be as clean)

Use Lookup instead of reflection on Java 9+ (#5749)

In `4.8` we have two `illegal-access` warning on Java 9+. This PR uses Java 9 API to eliminate these warning. However, the consequence is, we need Java 9 compiler to compile the specific subproject `base-servces-java9`.

On Java 9+, `MethodHandles.Lookup` is used to invoke protected methods `ClassLoader.defineClass` and `ClassLoader.getDefinedPackage`.

Use Lookup instead of reflection on Java 9+ (#5749)

In `4.8` we have two `illegal-access` warning on Java 9+. This PR uses Java 9 API to eliminate these warning. However, the consequence is, we need Java 9 compiler to compile the specific subproject `base-servces-java9`.

On Java 9+, `MethodHandles.Lookup` is used to invoke protected methods `ClassLoader.defineClass` and `ClassLoader.getDefinedPackage`.

Merge pull request #5751 from gradle/marc/issues/5742-version-specific-cache-cleanup

Cleanup unused version-specific caches and corresponding wrapper distributions

Merge branch 'release'

Merge pull request #5561 from gradle/marc/issues/1085-cleanup-shared-caches

Clean up shared caches/file stores

Recognize Sébastien Deleuze for SNAPSHOT plugin versions in plugins {}

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

    • -0
    • +6
    /subprojects/docs/src/docs/release/notes.md
Merge pull request #5762 from sdeleuze/snapshot-plugins

Support snapshot plugin versions

Expose the task name through the `TaskProvider`

Make dependency management cleanup actions observable

Wrap CleanupActions in build operations to make them observable in a

build session.

Resolves gradle/gradle-private#1350.

Add Kotlin DSL 0.18 to the release notes preamble

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

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md
Tweak release notes for dependency insight report

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Revert groovy version to 2.4.15

In https://github.com/gradle/gradle/pull/5627 we upgrade groovy to 2.5.0 in build init.

However, groovy 2.5.0 depends on javax.xml.bind so it causes some failures on Java 9+.

For now, we just revert it back to 2.4.15.

De-incubate dependency insight report

It's a small step for Gradle, one giant leap for community!

    • -3
    • +16
    /subprojects/docs/src/docs/release/notes.md
Recognize contributors in release note

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md
Update Spock Version In Docs And Build Init (#5627)

Use latest Gosu plugin (#5585)

Use of Gradle internal APIs is pretty much eliminated, see https://github.com/gosu-lang/gradle-gosu-plugin/pull/44

Signed-off-by: Kyle Moore <github@kylemoore.com>

Recover ignored tests

See https://github.com/gradle/gradle-private/issues/1341

and https://github.com/gradle/gradle/issues/5777

Recover these tests after jfrog adjusted their cipher configuration

added missing verb to the user guide (#5694)

Signed-off-by: radu <radu@matasaru.net>

Add improved publishing documentation to release notes

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md