Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Provide a basic service registry for worker injection

This allows us to pull some of the service stuff out of the Zinc

compiler and use the services of the process rather than constructing

its own service hierarchy. This also positions us to provide

meaningful public services to workers in the future.

  1. … 12 more files in changeset.
Provide a basic service registry for worker injection

This allows us to pull some of the service stuff out of the Zinc

compiler and use the services of the process rather than constructing

its own service hierarchy. This also positions us to provide

meaningful public services to workers in the future.

  1. … 12 more files in changeset.
Only load additional services for WorkerDaemonServer so we don't have to add more to the test worker classpath

  1. … 5 more files in changeset.
Only load additional services for WorkerDaemonServer so we don't have to add more to the test worker classpath

  1. … 5 more files in changeset.
Only load additional services for WorkerDaemonServer so we don't have to add more to the test worker classpath

  1. … 5 more files in changeset.
Only load additional services for WorkerDaemonServer so we don't have to add more to the test worker classpath

  1. … 5 more files in changeset.
Only load additional services for WorkerDaemonServer so we don't have to add more to the test worker classpath

  1. … 5 more files in changeset.
Fix issues with zinc compiler in new classloader structure

  1. … 15 more files in changeset.
Fix issues with zinc compiler in new classloader structure

  1. … 15 more files in changeset.
Use same classloader structure for zinc compiler

  1. … 9 more files in changeset.
Use same classloader structure for zinc compiler

  1. … 9 more files in changeset.
Fix a bunch of tests and do some cleanup

  1. … 35 more files in changeset.
Use isolatable pattern with all in-process worker api invocations

  1. … 25 more files in changeset.
Introduce an internal factory to create `JavaForkOptions`, to encapsulate the service(s) needed to create instances of this type and decouple clients from this detail. This could/should move to `ObjectFactory` or some other public factory type.

  1. … 43 more files in changeset.
Introduce an internal factory to create `JavaForkOptions`, to encapsulate the service(s) needed to create instances of this type and decouple clients from this detail. This could/should move to `ObjectFactory` or some other public factory type.

  1. … 43 more files in changeset.
Split methods required in Worker

  1. … 18 more files in changeset.
Move some internal types back to their original package.

  1. … 75 more files in changeset.
Moved a bunch of dynamic object related types from core to live in modelCore.

  1. … 104 more files in changeset.
Don't attempt to change a worker's working dir

Since Java 11 no longer supports changing the working directory of a

running process, a worker's working dir is now always

`GRADLE_USER_HOME/workers`.

Setting the working directory of a worker via the fork options of

`WorkerConfiguration` is now prohibited.

Resolves #7323.

  1. … 26 more files in changeset.
Remove JvmLanguageCompileSpec.{source,classpath}

Use PathToFileResolver where possible (#5805)

  1. … 41 more files in changeset.
Resolve source files later

The cleaning compiler may still remove some of the source files for

some configurations, so we may pass non-existing files to the compiler

which causes the compilation to fail.

See https://github.com/gradle/gradle/issues/5448.

  1. … 8 more files in changeset.
Fix some usages or spec.sourceFiles.asTree

  1. … 1 more file in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

  1. … 87 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

  1. … 87 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

  1. … 87 more files in changeset.
Allow worker actions to return a custom result

This will be necessary to transferm annotation

processing information from the compiler worker

back to the main daemon. The Compiler API already

returns a WorkResult, but until now this result

was discarded and a standard result instance

was returned instead.

This change allows worker actions to implement

Callable<WorkResult> and lets the compiler daemons

make use of this. In subsequent changes the compiler

will use a custom subclass that exposes more information.

This change does not affect the public WorkerExecutor API.

  1. … 3 more files in changeset.
Add `@Nullable` to `@Optional` task inputs

where applicable.

  1. … 46 more files in changeset.
Deprecated `PropertyState` interface, which is replaced by `Property`. Deprecated the `Project.property()`, `Script.property()` and `ProviderFactory.property()` methods, which are replaced by `ObjectFactory.property()`.

  1. … 19 more files in changeset.
Extracted public `Property` interface out of `PropertyState` as a first step in renaming. Changed other public APIs, except for the factory methods, to use `Property` instead of `PropertyState`.

Also moved factory method to create a `ListProperty<T>` from `ProviderFactory` to `ObjectFactory`.

  1. … 32 more files in changeset.