initialization

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Integrate with Gradle Enterprise plugin 3.0 (#11041)

    • -2
    • +1
    ./definition/InjectedPluginResolver.java
  1. … 52 more files in changeset.
Fix test

    • -2
    • +1
    ./definition/InjectedPluginResolver.java
  1. … 2 more files in changeset.
Update scan support for Gradle Enterprise plugin 3.0

Gradle 6 is now only compatible with this plugin.

    • -2
    • +2
    ./definition/InjectedPluginResolver.java
  1. … 35 more files in changeset.
Disallow `buildSrc` as the name of an included build

Except for the actual buildSrc build

  1. … 5 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
    • +1
    ./ScriptEvaluatingSettingsProcessor.java
    • -1
    • +1
    ./definition/InjectedPluginResolver.java
  1. … 66 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.

  1. … 5 more files in changeset.
Fix included build path naming and tests

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

    • -0
    • +1
    ./ScriptEvaluatingSettingsProcessor.java
    • -1
    • +1
    ./definition/InjectedPluginResolver.java
  1. … 30 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.
Expose classes loaded by settings scripts to buildSrc

  1. … 3 more files in changeset.
Make checkstyle happy

    • -2
    • +0
    ./definition/InjectedPluginResolver.java
  1. … 2 more files in changeset.
Use notFound() in composite build plugin resolver

    • -1
    • +1
    ./definition/InjectedPluginResolver.java
  1. … 5 more files in changeset.
Remove "self-resolving" plugin resolver since injected plugins now come from included builds

    • -12
    • +1
    ./definition/InjectedPluginResolver.java
    • -33
    • +0
    ./definition/SelfResolvingPluginRequest.java
  1. … 7 more files in changeset.
Make injected plugins resolvable from included builds and not just buildSrc

    • -1
    • +2
    ./definition/InjectedPluginResolver.java
  1. … 4 more files in changeset.
Expose classes loaded by settings scripts to the projects

  1. … 3 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

  1. … 17 more files in changeset.
Fix regression when deprecating search upward APIs

    • -3
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 6 more files in changeset.
Fix regression when deprecating search upward APIs

    • -3
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 8 more files in changeset.
Fix regression when deprecating search upward APIs

    • -3
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 9 more files in changeset.
Fix regression when deprecating search upward APIs

    • -3
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 5 more files in changeset.
Fix regression when deprecating search upward APIs

    • -3
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 6 more files in changeset.
Revert "Merge pull request #10795 from gradle/lacasseio/deprecate-methods-on-start-parameter"

This reverts commit 40cb80789fed1f36e5501d9e8ac35fcb290c6b76, reversing

changes made to f6c349254943c709e33dd409729174f5adf9f6ce.

    • -3
    • +2
    ./layout/BuildLayoutConfiguration.java
  1. … 6 more files in changeset.
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 13 more files in changeset.
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 9 more files in changeset.
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 8 more files in changeset.
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 13 more files in changeset.
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 13 more files in changeset.
Warn about deprecation of search upwards and similar APIs

    • -2
    • +3
    ./layout/BuildLayoutConfiguration.java
  1. … 6 more files in changeset.
Merge branch 'feature/JLL/depricate_http_download_dependencies' of https://github.com/JLLeitschuh/gradle

* 'feature/JLL/depricate_http_download_dependencies' of https://github.com/JLLeitschuh/gradle:

Fix failing tests from insecure HTTP deprecation changes

Fix failing tests from insecure HTTP deprecation changes

Fix DefaultFlatDirArtifactRepositoryTest

Refactor HTTP deprecation logic to use HttpRedirectVerifier

Add link to medium publication about industry wide MITM

Update `@since` for new API's to be since 6.0

Disable HTTP support for TextResources in redirects by default

Fix newly added API's to use `@since 5.7`

Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

    • -5
    • +5
    ./ScriptEvaluatingSettingsProcessor.java
  1. … 10 more files in changeset.