Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add action to forcefully resolve all configurations

  1. … 7 more files in changeset.
Add action to forcefully resolve all configurations

  1. … 7 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.
Fix regression when deprecating search upward APIs

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

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

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

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

  1. … 9 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.

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

  1. … 9 more files in changeset.
Run all tasks read from the instant execution cache in parallel. Each of the tasks is isolated from the project state and so can run in parallel.

  1. … 5 more files in changeset.
Run all tasks read from the instant execution cache in parallel. Each of the tasks is isolated from the project state and so can run in parallel.

  1. … 5 more files in changeset.
Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 12 more files in changeset.
Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 12 more files in changeset.
Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 11 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -7
    • +1
    ./converter/LayoutToPropertiesConverter.java
  1. … 666 more files in changeset.
Apply `'try finally' replaceable with 'try' with resources` inspection the whole project

    • -4
    • +1
    ./converter/LayoutToPropertiesConverter.java
  1. … 53 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -2
    • +2
    ./DefaultCommandLineActionFactory.java
    • -1
    • +1
    ./converter/LayoutToPropertiesConverter.java
  1. … 906 more files in changeset.
Add option to package classes directory to a jar on the compile cp

This can speed up compilation for very large multi-projects on Windows.

  1. … 6 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./DefaultCommandLineActionFactory.java
  1. … 175 more files in changeset.
Simplify launcher project structure

    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 561 more files in changeset.
Simplify launcher project structure

    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 561 more files in changeset.
Simplify launcher project structure

    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 559 more files in changeset.
Simplify launcher project structure

    • -0
    • +201
    ./BuildActionsFactory.java
    • -0
    • +33
    ./CommandLineAction.java
    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +50
    ./ExceptionReportingAction.java
    • -0
    • +45
    ./KotlinDslVersion.java
    • -0
    • +104
    ./ParametersConverter.java
    • -0
    • +32
    ./ReportDaemonStatusAction.java
    • -0
    • +71
    ./RunBuildAction.java
    • -0
    • +31
    ./StopDaemonAction.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +32
    ./action/ExecuteBuildAction.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 544 more files in changeset.
Simplify launcher project structure

    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 561 more files in changeset.
Simplify launcher project structure

    • -0
    • +417
    ./DefaultCommandLineActionFactory.java
    • -0
    • +228
    ./action/BuildActionSerializer.java
    • -0
    • +48
    ./converter/DaemonCommandLineConverter.java
    • -0
    • +114
    ./converter/LayoutToPropertiesConverter.java
    • -0
    • +34
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 561 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

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

    • -228
    • +0
    ./action/BuildActionSerializer.java
    • -46
    • +0
    ./converter/DaemonCommandLineConverter.java
    • -114
    • +0
    ./converter/LayoutToPropertiesConverter.java
    • -34
    • +0
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 530 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Let split launcher projects code be shipped in a fat jar

for backwards compatibility

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

    • -228
    • +0
    ./action/BuildActionSerializer.java
    • -46
    • +0
    ./converter/DaemonCommandLineConverter.java
    • -114
    • +0
    ./converter/LayoutToPropertiesConverter.java
    • -34
    • +0
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 534 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Let split launcher projects code be shipped in a fat jar

for backwards compatibility

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

    • -228
    • +0
    ./action/BuildActionSerializer.java
    • -46
    • +0
    ./converter/DaemonCommandLineConverter.java
    • -114
    • +0
    ./converter/LayoutToPropertiesConverter.java
    • -34
    • +0
    ./converter/PropertiesToDaemonParametersConverter.java
  1. … 534 more files in changeset.
Support adding a 'gradle.properties' file to a Gradle distribution (#9296)

This can be used by organisations who package their own Gradle

distributions to set defaults. For example to adjust the

daemon memory defaults via 'org.gradle.jvmargs'.

    • -4
    • +6
    ./converter/LayoutToPropertiesConverter.java
  1. … 12 more files in changeset.