internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Correct illegal cmd lines to exec modules' main class"

This reverts commit fd96bfffb8458f2884453a3bc220dcfa6a85a5d1.

  1. … 3 more files in changeset.
Correct illegal cmd lines to exec modules' main class

Issue: #10825

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

  1. … 3 more files in changeset.
Improved performance of logging for org.gradle.process.internal.DefaultExecHandle

Signed-off-by: Ross Goldberg <ross.goldberg@gmail.com>

Fix some lgtm alerts

  1. … 11 more files in changeset.
Refactor JavaExecHandleBuilder to shorten arguments

- Add backdoor to shorten on an arbitrary command-line length so we can test on mac/Linux

- Reduce command-line arguments without parsing argument list

- Test project.javaexec too

    • -20
    • +10
    ./util/LongCommandLineDetectionUtil.java
  1. … 2 more files in changeset.
Organize imports

Include exception in message when couldn't create pathing JAR

Change information message when shortening the command line

  1. … 1 more file in changeset.
Remove shortening command line using `CLASSPATH`

  1. … 1 more file in changeset.
Merge pull request #10409 from gradle/lacasseio/long-command/use-environment-variable

Use environment variable to shorten the command line path

Allow shortening the command line using a pathing JAR

  1. … 1 more file in changeset.
Introduce public API service ExecOperations

for exec(spec) and javaexec(spec) usage in task actions without referencing the project

only available in project scope for now

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

    • -0
    • +44
    ./DefaultExecOperations.java
  1. … 2 more files in changeset.
Temporarily just fix the compilation error blocking master after release merge

Merge remote-tracking branch 'origin/release'

* origin/release:

Link to fixed issues in release notes

Bump to 5.6.1

Prepare for 5.6.2

Make sure the memory leak tests for workers use separate daemons

Fix tests

Fix typo

Add test for legacy worker API as well

Use a non-decorated fork options when creating fork options for worker daemon

Reproduce OOM with out-of-process worker API

Add build cache training promotion link to selected docs

Remove duplicate project dependency from Eclipse classath when project is referenced with different configuration

  1. … 7 more files in changeset.
Fix typo

Use `CLASSPATH` environment variable when Windows command line is too long

    • -0
    • +12
    ./util/LongCommandLineDetectionUtil.java
  1. … 2 more files in changeset.
Use a non-decorated fork options when creating fork options for worker daemon

WorkerDaemonClients are retained across builds, so any object associated with

it must not contain project state since this will be kept around until the worker

expires.

- Introduce a newDecoratedJavaForkOptions which creates a decorated JavaForkOptionsInternal

- Replace calls to the decorated version of the method with non-decorated versions where appropriate

  1. … 10 more files in changeset.
Add detection of long command line on Windows

    • -0
    • +50
    ./util/LongCommandLineDetectionUtil.java
  1. … 1 more file in changeset.
Synchronize log messages with worker response messages

To avoid logging messsages containing the build operation id from being

handled asynchronously on a separate thread (and potentially arriving

after the build operation has been finished), we now process log event

messages that occur inside the boundary of the request/response through

the same queue, ensuring that they will arrive and be processed in the

order that they are sent.

    • -2
    • +5
    ./worker/DefaultMultiRequestWorkerProcessBuilder.java
    • -2
    • +5
    ./worker/DefaultSingleRequestWorkerProcessBuilder.java
    • -2
    • +2
    ./worker/DefaultWorkerProcessFactory.java
    • -1
    • +3
    ./worker/request/ResponseProtocol.java
  1. … 3 more files in changeset.
Move some classes around to bust up a package cycle.

  1. … 60 more files in changeset.
Replace `FileResolver.resolveFilesAsTree()` and `compositeFileTree()` with `FileCollectionFactory`.

  1. … 44 more files in changeset.
Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

  1. … 39 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Revert "Revert "Add debug support to TestLauncher (#9863)""

This reverts commit 17d0ec1ba0dd44df1a6e2e2f8e79c366faa2bee7.

  1. … 32 more files in changeset.
Revert "Add debug support to TestLauncher (#9863)"

This reverts commits 026d9f4f8b33e64a64fd0f9f4c364b4c7cebf26f and fda0f3d58074137a1e9204fbf2762d9f63a0603b.

Temporarily reverted due to a possible performance regression.

  1. … 33 more files in changeset.
Add debug support to TestLauncher (#9863)

    • -0
    • +87
    ./DefaultJavaDebugOptions.java
  1. … 32 more files in changeset.
Apply `'if' replaceable with 'switch'` inspection the whole project

  1. … 8 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

    • -0
    • +1
    ./worker/child/WorkerProcessClassPathProvider.java
  1. … 324 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

    • -1
    • +0
    ./worker/child/WorkerProcessClassPathProvider.java
  1. … 324 more files in changeset.
Move hashing-related things to new :hashing project

    • -1
    • +1
    ./worker/child/WorkerProcessClassPathProvider.java
  1. … 41 more files in changeset.