bootstrap

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

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

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

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

  1. … 544 more files in changeset.
Named classloaders (#6834)

This should help give some more context while debugging classloading issues.

  1. … 40 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

  1. … 34 more files in changeset.
Fix typo

Revert "Mix in internal return types for Task.getInputs() and getOutputs()"

This reverts commit 5182f905c68a2aed2f17331ffec497b247afeecd.

    • -164
    • +0
    ./MixInCoreTypesTransformingClassLoader.java
  1. … 23 more files in changeset.
Mix in internal return types for Task.getInputs() and getOutputs()

This fixes a leak in Gradle 3.2 where a few internal types got exposed to the public API via the return values of `Task.getInputs()`. It also fixes `Task.getOutputs()`: now both methods return public types. For backwards compatibility, bridge methods returning the internal types are weaved in during runtime.

+review REVIEW-6409

    • -0
    • +164
    ./MixInCoreTypesTransformingClassLoader.java
  1. … 23 more files in changeset.
Comment classloaders which are safe, close ones which leak.

  1. … 9 more files in changeset.
Comment classloaders which are safe, close ones which leak.

  1. … 9 more files in changeset.
Remove unused `MutableURLClassLoader.addURL()` method

This effectively makes `MutableURLClassLoader` not publicly mutable,

thus the rename to `VisitableURLClassLoader`.

+review REVIEW-6020

  1. … 21 more files in changeset.
Moved several @Deprecated classes from public API packages to internal packages, removing them from the public API. Also removed several @Deprecated public classes that are no longer used.

  1. … 41 more files in changeset.
Moved more classes to live with the logging text output classes.

  1. … 61 more files in changeset.
Changed `LoggingConfiguration` into an interface and extracted an implementation.

`StartParameter` implements the interface, delegating to the above implementation.

  1. … 7 more files in changeset.
Moved internal logging classes from 'core' to 'logging' project.

  1. … 418 more files in changeset.
Introduce installation beacon and refactor representation of Gradle installation

- Installation discovery by finding JAR in lib directory

- Minor improvements

+review REVIEW-5867

  1. … 47 more files in changeset.
Apply abstract modifier to classes consistently

Prior to this commit, a minority of clases positioned the `abstract`

modifier before the `public` visibility modifier:

{ git grep -h '^abstract public'; git grep -h '^public abstract'; } \

| cut -d' ' -f1-3 | sort | uniq -c

25 abstract public class

232 public abstract class

This commit normalizes this usage with the following command:

git grep -l '^abstract public' \

| xargs perl -p -i -e 's/^abstract public/public abstract/'

Resulting in the following homogeny:

{ git grep -h '^abstract public'; git grep -h '^public abstract'; } \

| cut -d' ' -f1-3 | sort | uniq -c

257 public abstract class

  1. … 24 more files in changeset.
Extracted a ForegroundDaemonAction out of DaemonMain and changed DaemonMain so that it does the command-line parsing in run() rather than main().

  1. … 9 more files in changeset.
Changed ProcessBootstrap to assume the main class is-a EntryPoint.

Moved ClasspathUtil and ClassLoaderFactory and impl to baseServices.

  1. … 36 more files in changeset.
Moved MutableURLClassLoader to baseServices project.

  1. … 17 more files in changeset.
Moved ClassPath and DefaultClassPath from core to baseServices.

  1. … 39 more files in changeset.
- Moved ProcessBootstrap to o.g.launcher.bootstrap to get rid of cycle between o.g.launcher and o.g.launcher.exec - Move other classes related to bootstrapping a process from o.g.launcher.exe to o.g.launcher.bootstrap, so that they live together. Now o.g.launcher.exe contains only classes related to executing a build. - Switched on package cycle checking for launcher project.

    • -0
    • +21
    ./ExecutionCompleter.java
    • -0
    • +32
    ./ExecutionListener.java
    • -0
    • +26
    ./ProcessCompleter.java
  1. … 24 more files in changeset.
Remove this files accidentally left in by a bad revert.

Revert moving of main classes into separate package as it breaks cross version compatibility with the tooling API.

  1. … 6 more files in changeset.
Moved the classes that perform the immediate bootstrapping of new Gradle processes into a separate “bootstrap” package.

    • -0
    • +58
    ./ProcessBootstrap.java
  1. … 5 more files in changeset.