Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add some Javadocs and clean up Kotlin code formatting.

    • -3
    • +18
    ./org/gradle/api/westline/WestlineService.java
    • -2
    • +5
    ./org/gradle/api/westline/package-info.java
  1. … 4 more files in changeset.
First cut of lifecycled shared services

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

    • -0
    • +26
    ./org/gradle/api/westline/WestlineService.java
    • -0
    • +30
    ./org/gradle/api/westline/WestlineServiceFactory.java
    • -0
    • +21
    ./org/gradle/api/westline/WestlineServiceParameters.java
    • -0
    • +26
    ./org/gradle/api/westline/WestlineServiceSpec.java
    • -0
    • +5
    ./org/gradle/api/westline/package-info.java
  1. … 3 more files in changeset.
Test coverage for previous commit.

    • -1
    • +1
    ./org/gradle/api/provider/Provider.java
  1. … 3 more files in changeset.
Test coverage for previous commit.

    • -1
    • +1
    ./org/gradle/api/provider/Provider.java
  1. … 3 more files in changeset.
Test coverage for previous commit.

    • -1
    • +1
    ./org/gradle/api/provider/Provider.java
  1. … 3 more files in changeset.
Deprecate querying the value of a `Provider` whose value is a mapped a task output file, prior to completion of the producing task.

    • -1
    • +1
    ./org/gradle/api/provider/Provider.java
  1. … 14 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.
Add a `add-plugin` CLI option

This commit introduces a new CLI flag, `--add-plugin`, which allows adding a plugin to a build

directly from the command line. The main advantage of this is that there's no need to have a

build file to be able to download an apply a plugin.

There are different use cases for this, but mainly, this is about _bootstraping_ plugins.

For example, the vert.x team could publish a plugin which generates a templated Gradle build.

All the user would have to do would be something like:

`gradle --add-plugin com.vertx.bootstrap:1.5`

and then the plugin would take care of generating a build.

Another use case is to add diagnostics (build scans is an example of this but there's already

a built-in mechanism, --scan, to do this).

This spike is _compatible with included builds_, meaning that you can bootstrap with

a plugin currently in development using `--include-build`.

  1. … 3 more files in changeset.
Revert "Revert "Merge branch 'release'""

This reverts commit 67b8bb8f18f854f45a2f5ec52cc9c8a25981e2f2.

This restores the merge attempt from earlier.

    • -9
    • +19
    ./org/gradle/api/tasks/TaskContainer.java
  1. … 63 more files in changeset.
Add missing @since

Revert "Merge branch 'release'"

This reverts commit c7fdc455dcb9a8016af0ae9bc8b4c43fde1e2d06, reversing

changes made to 9f70d52b74dbc8c71381781b6c155474031b3cf8.

The changes need a wrapper as there are API changes. Reverting for now.

    • -19
    • +9
    ./org/gradle/api/tasks/TaskContainer.java
  1. … 63 more files in changeset.
Support variant selection in capability conflict resolution (#10973)

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

    • -0
    • +39
    ./org/gradle/api/artifacts/ComponentVariantIdentifier.java
  1. … 12 more files in changeset.
Support variant selection in capability conflict resolution

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

  1. … 12 more files in changeset.
Support variant selection in capability conflict resolution

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

    • -0
    • +39
    ./org/gradle/api/artifacts/ComponentVariantIdentifier.java
  1. … 11 more files in changeset.
Rename section of Project class documentation to not confuse it with Properties section in DSL guide

Fix broken link to explanation about project properties

    • -9
    • +19
    ./org/gradle/api/tasks/TaskContainer.java
Add `failOnNonReproducibleResolution`

This method is a short-hand notation to disable both use

of dynamic and changing versions.

  1. … 8 more files in changeset.
Add `failOnNonReproducibleResolution`

This method is a short-hand notation to disable both use

of dynamic and changing versions.

  1. … 8 more files in changeset.
Add support for failing on changing versions

This commit adds the `failOnChangingVersions()` method on

the resolution strategy, which will make the build fail as

soon as a changing version is detected.

This is useful to prevent, for example, snapshots from

appearing in a dependency graph.

  1. … 5 more files in changeset.
Add support for failing on changing versions

This commit adds the `failOnChangingVersions()` method on

the resolution strategy, which will make the build fail as

soon as a changing version is detected.

This is useful to prevent, for example, snapshots from

appearing in a dependency graph.

  1. … 5 more files in changeset.
Remove "self-resolving" plugin resolver since injected plugins now come from included builds

  1. … 8 more files in changeset.
Introduce `failOnDynamicVersion`

This commit introduces a new dependency graph validation mode,

which will make sure that if dynamic versions are found in the

graph, then either they are superceded by another version (they

don't participate in selection) or the build should fail.

This means that, for example, if a version selector uses a

version range `[1.0, 2.0[`, the build will fail because in a

subsequent build the resolution may change.

However, if there are two selectors participating, say

`[1.0, 2.0[` and `1.5`, then we choose `1.5` because this version

is within the range. Even if newer versions are released, we

would _not_ change the resolution result.

  1. … 8 more files in changeset.
Introduce `failOnDynamicVersion`

This commit introduces a new dependency graph validation mode,

which will make sure that if dynamic versions are found in the

graph, then either they are superceded by another version (they

don't participate in selection) or the build should fail.

This means that, for example, if a version selector uses a

version range `[1.0, 2.0[`, the build will fail because in a

subsequent build the resolution may change.

However, if there are two selectors participating, say

`[1.0, 2.0[` and `1.5`, then we choose `1.5` because this version

is within the range. Even if newer versions are released, we

would _not_ change the resolution result.

  1. … 8 more files in changeset.
Improve advice for dealing with insecure HTTP script plugins

  1. … 6 more files in changeset.
De-incubate latest dependency management APIs for 6.0 (#10886)

These are APIs that complete features which are fully implemented and

de-incubated in Gradle 6.

    • -2
    • +0
    ./org/gradle/api/attributes/DocsType.java
  1. … 3 more files in changeset.
De-incubate latest dependency management APIs for 6.0

These are APIs that complete features which are fully implemented and

de-incubated in Gradle 6.

    • -2
    • +0
    ./org/gradle/api/attributes/DocsType.java
  1. … 3 more files in changeset.
Fixed wording in javadoc 'inherited' -> 'endorsed'

Explicitly expect auto-tested samples to use deprecatied APIs

  1. … 3 more files in changeset.
Adjust documentation

Revert changes from https://github.com/gradle/gradle/pull/10143 and

update upgrading instructions.

    • -1
    • +0
    ./org/gradle/api/file/DuplicatesStrategy.java
  1. … 3 more files in changeset.