Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix handling of “no settings” case WRT auto applied plugins and classpath

Some invocation args (e.g. -b) cause us to create two settings objects,

with the subsequent being empty.

Previously we were applying the auto

apply plugins to both, and inheriting the empty's classpath into the

rest of the build.

Now, we don't auto apply any plugins to the empty and have it inherit

the real settings script's classpath (which also makes it available to

the rest of the build tree).

Closes #11101

    • -0
    • +27
    ./gradle/api/SettingsScriptVisibilityIntegrationTest.groovy
  1. … 2 more files in changeset.
Correct illegal cmd lines to exec modules' main class

Issue: #10825

Signed-off-by: lingocoder <coder@lingocoder.com>

    • -0
    • +139
    ./gradle/process/internal/JvmOptionsIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix test

Fix test

Integrate with Gradle Enterprise plugin 3.0 (#11041)

  1. … 48 more files in changeset.
Fail better when using --scan and an old incompatible scan plugin

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

Gradle 6 is now only compatible with this plugin.

  1. … 31 more files in changeset.
Disallow `buildSrc` as the name of an included build

Except for the actual buildSrc build

  1. … 4 more files in changeset.
Restore < Gradle 6 buildSrc location when using custom root project dir

Previously, we used ${settings.rootDir}/buildSrc, but this was evaluated

before the settings file. So, if the user changed the root dir location

we were unaffected. Now that settings is evaluated first, we looked in a

different place. Strike one more for silent mutability.

  1. … 1 more file 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.

    • -0
    • +42
    ./gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
    • -2
    • +2
    ./gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
    • -48
    • +47
    ./gradle/initialization/BuildInitializationBuildOperationsIntegrationTest.groovy
    • -0
    • +73
    ./gradle/initialization/buildsrc/DisallowIncludingBuildSrcAsProjectIntegTest.groovy
  1. … 68 more files in changeset.
Disallow builds defining a project at :buildSrc

This is already prohibited by the composite build machinery if there is

also a real buildSrc project. This change makes the failure earlier and

more obvious.

    • -0
    • +73
    ./gradle/initialization/buildsrc/DisallowIncludingBuildSrcAsProjectIntegTest.groovy
  1. … 8 more files in changeset.
Synchronize access to build state registry in GradleBuild

    • -0
    • +1
    ./gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
  1. … 1 more file in changeset.
Ensure build paths are unique before using them

Also pushes uniqueness validation earlier

    • -0
    • +41
    ./gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
  1. … 7 more files in changeset.
Fix tests

Fix tests

    • -2
    • +2
    ./gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
Fix tests

    • -48
    • +47
    ./gradle/initialization/BuildInitializationBuildOperationsIntegrationTest.groovy
Revert test changes

The changes are only needed when fine-grained invalidation is enabled.

    • -4
    • +0
    ./gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
Revert test changes

The changes are only needed when fine-grained invalidation is enabled.

    • -4
    • +0
    ./gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
Revert test changes

The changes are only needed when fine-grained invalidation is enabled.

    • -4
    • +0
    ./gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
Make test name reflect actual behaviour

    • -1
    • +1
    ./gradle/api/SettingsScriptVisibilityIntegrationTest.groovy
Expose classes loaded by settings scripts to buildSrc

    • -15
    • +46
    ./gradle/api/SettingsScriptVisibilityIntegrationTest.groovy
  1. … 3 more files in changeset.
Prefer import over fqcn

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

    • -2
    • +3
    ./gradle/api/SettingsPluginIntegrationSpec.groovy
Expose classes loaded by settings scripts to the projects

    • -0
    • +56
    ./gradle/api/SettingsScriptVisibilityIntegrationTest.groovy
  1. … 4 more files in changeset.
Improve advice for dealing with insecure HTTP script plugins

    • -3
    • +4
    ./gradle/api/HttpScriptPluginIntegrationSpec.groovy
  1. … 5 more files in changeset.
Fix test

  1. … 1 more file in changeset.
Fix test

  1. … 1 more file in changeset.
Fix test

Avoid deprecated APIs

  1. … 3 more files in changeset.
Merge tests

    • -63
    • +10
    ./gradle/api/tasks/IncrementalInputsIntegrationTest.groovy
Merge tests

    • -63
    • +10
    ./gradle/api/tasks/IncrementalInputsIntegrationTest.groovy