configuration

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
minor code cleanups after code review

+review REVIEW-5889

  1. … 2 more files in changeset.
integ test coverage for handling java.net.ssl props in the daemon

- this revealed an issue with the implementation that is fixed too here

- just covering one java.net.ssl property in the integtest as these tests are

expensive and all ssl props use the same logic here.

+review REVIEW-5889

  1. … 1 more file in changeset.
rework java.ssl property handling

consider java.ssl.* as immutable only when using the daemon.

    • -0
    • +51
    ./DaemonJvmOptions.java
  1. … 3 more files in changeset.
change tmpdir behaviour or daemon

- only set tmpdir explicitly when it was configured as an explicit input argument

- adapt couple of integ tests to reflect this behaviour

  1. … 10 more files in changeset.
next try to handle tmp directory as imutable property of the daemon

  1. … 8 more files in changeset.
Revert "add tmpdir explcit as system property"

This reverts commit 9cd1e1bc424651f9e94378dc1ce9c762794e70bf.

  1. … 4 more files in changeset.
add tmpdir explcit as system property

  1. … 4 more files in changeset.
Revert "handle java.io.tmpdir as immutable systemproperty"

This reverts commit 5e276076961faaca78b61fbc00b1964c6ad92187.

  1. … 4 more files in changeset.
handle java.io.tmpdir as immutable systemproperty

  1. … 4 more files in changeset.
Include the correct Jvm args in BuildEnvironment model

Moved `CurrentProcess` utility into 'core', while keeping the daemon

process configuration stuff in 'launcher'.

  1. … 6 more files in changeset.
Removing uid from DaemonParameters and moving it to startup.

+review REVIEW-5825

  1. … 3 more files in changeset.
Trim whitespace when matching on boolean properties

  1. … 1 more file in changeset.
Use a new UID any time a daemon is started.

+review REVIEW-5825

  1. … 2 more files in changeset.
Fixing regression where "-Dorg.gradle.debug=true" does not have an effect

+review REVIEW-5668

  1. … 1 more file in changeset.
Don't include `-XX:MaxPermSize` in the default JVM args for the daemon when the target is >= Java 9.

This means that the daemon and tooling API now work with Java 9, when no JVM args specified.

  1. … 5 more files in changeset.
Changed DeamonParameters to use `JavaInfo` instances instead of File java home to represent the target JVM for build execution.

  1. … 9 more files in changeset.
Revert "Provide more information about Java environment in the Tooling API"

This reverts commit 4116f02938163f36c8561c13d1f36739a4d89657.

Conflicts:

subprojects/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

subprojects/tooling-api/src/main/java/org/gradle/tooling/model/build/JavaEnvironment.java

  1. … 4 more files in changeset.
Detect whether the build client is interactive or not.

Currently, this is only used for dealing with continuous build cancellation. The current strategy is to use `System.console()` in the build client for detecting whether or not the client is interactive.

  1. … 8 more files in changeset.
Serialize daemon startup configuration across to daemon process via its stdin rather than on the command-line, to keep command-line length down. Same approach is used to send configuration to worker process.

  1. … 10 more files in changeset.
Provide more information about Java environment in the Tooling API

+review: REVIEW-5473

  1. … 4 more files in changeset.
Wire "watch mode" command line options into build executer

- Rename watch mode to continuous mode

- Still using --watch for command line right now

- Build executer for continuous mode just keeps building without any

external triggers right now (5 seconds after last build)

- Extract command line parsing into separate converter (so integ tests can

use it) - TBD

- Put all of the "Parameter" objects into a Parameters holder

- No integ tests yet

  1. … 23 more files in changeset.
Don't use a discrete copy of the native services libs per daemon.

+review REVIEW-5378

  1. … 3 more files in changeset.
Promote DaemonUsage to top level and use it instead of multiple boolean flags.

+review REVIEW-5426

  1. … 11 more files in changeset.
Separate native parallel compilation from parallel-threads

* Deprecate --parallel-threads, suggest using --parallel

* Deprecate get/setParallelThreadCount in StartParameter

* Introduce org.gradle.workers.max system property

* Introduce --workers command line option (incubating)

* Introduce get/setMaxWorkerCount in StartParameter (incubating)

* Introduce is/setParallelProjectExecutionEnabled in StartParameter (incubating)

* Have BuildOperationProcessor use max worker count

+review REVIEW-5434

  1. … 11 more files in changeset.
Print a message suggesting using the daemon when it's not used and has not been explicitly disabled.

+review REVIEW-5426

  1. … 18 more files in changeset.
GRADLE-3145 - Respect command line system properties that represent immutable JVM runtime options (e.g. file.encoding).

There should now be no difference between such a property being set on the command line, environment vars, or gradle.properties.

+review REVIEW-5061

  1. … 5 more files in changeset.
Removed cycle between BuildLayoutParameters and StartParameter. Also changed StartParameter.DEFAULT_GRADLE_USER_HOME so that it considers the system and environment variables that affect user home (via BuildLayoutParameters).

  1. … 8 more files in changeset.
Cleared up an old TODO

  1. … 3 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

    • -3
    • +0
    ./DefaultDaemonServerConfiguration.java
  1. … 1210 more files in changeset.
Revert "Message for incubating execution mode is not shown if the mode is explicitly configured (e.g. gradle.properties)."

This reverts commit 7fa641429cdd04a00f8bdf3f6364909fbd32a5ae.

It didn't work for the daemon execution and I wasn't happy with the implementation, too.

  1. … 13 more files in changeset.