configuration

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prevent Groovy illegal access warnings

Start all processes that are likely to use Groovy with the

necessary --add-opens arguments to avoid noisy warnings that

our users can't do anything about.

  1. … 9 more files in changeset.
Avoid using deprecated JVM methods

  1. … 4 more files in changeset.
Move the 'interactive' flag that is passed from the client to daemon so that it lives in only one place. The flag is still on `StartParameter` but is unused and should later be deprecated and removed.

  1. … 19 more files in changeset.
Make environment variable mutation work on Java9+

Mutating the environment requires reflection on the

java.util package, so we need to open that package

up to Gradle. Since Gradle is not modularized, this

means opening it up to the whole classpath. This is

less than desirable, but the only way to restore the

behavior we had on Java 8 and below.

We should start limiting access to environment variables

going forward so users don't depend on arbitrary values.

However, this change allows us to unblock users who are

currently either not using Java 9 or running Gradle in

no-daemon mode, both of which are terrible solutions.

  1. … 11 more files in changeset.
Switch to GradleSystem.getenv()

This commit replaces all System.getenv() with GradleSystem.getenv() in Gradle code base.

  1. … 23 more files in changeset.
Limit memory of daemons used in tests

By default they were taking 1/4th of the machine's memory

which is excessive. 2GB for a shared daemon and 512MB for a

test-specific daemon should be more than enough.

  1. … 4 more files in changeset.
A disabled build option should provide a proper description (#3237)

  1. … 17 more files in changeset.
Don't ask for user input on non-interactive console (#3106)

  1. … 13 more files in changeset.
Create build options only once

They are effectively immutable constants, so no need to

create them again and again in sevaral different places.

    • -0
    • +203
    ./DaemonBuildOptions.java
  1. … 28 more files in changeset.
Address review feedback

- use DaemonServerConfiguration to pass information further down

- remove BuildAndStop command

- change naming to use singleUse

+review REVIEW-6567

    • -1
    • +8
    ./DefaultDaemonServerConfiguration.java
  1. … 12 more files in changeset.
Unify error messages for Gradle build options (#2934)

Unify error messages for Gradle build options #2917

  1. … 19 more files in changeset.
Polishing of Gradle build options (#2890)

  1. … 31 more files in changeset.
Represent Gradle properties and corresponding command line option as data structure (#2784)

    • -0
    • +198
    ./DaemonBuildOptionFactory.java
  1. … 46 more files in changeset.
Move HeapProportionalCacheSizer to org.gradle.cache.internal

+review REVIEW-6562

  1. … 9 more files in changeset.
Merge pull request #2316 from gradle/jj/nodaemon/fix-vm-comparison

Fix build VM comparison

Rename local variable to for consistency

Restore previous behavior: user can set daemon jvm args to empty

If the jvm args are explicitly defined (i.e. org.gradle.jvmargs="")

no defaults are applied.

  1. … 1 more file in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Match build VMs if immutable VM arguments match

  1. … 1 more file in changeset.
Fix JVM args on Java 8+.

Fix minor inefficiencies in CLI client startup

ImmutableSet is faster than HashSet, for-loop is faster than

"functional" programming with Guava.

  1. … 1 more file in changeset.
Revert "Match build VMs if immutable VM arguments match"

This reverts commit 79ed9184085a1d795a4c727f36b4f8673a27bfc9.

  1. … 2 more files in changeset.
Match build VMs if immutable VM arguments match

#2134

  1. … 1 more file in changeset.
Add Gradle property for logging (#1927)

* Add global property

* Read new property to determine log level

* Document the new log.level property

* Review feedback

* Expand test coverage and make testing more explicit

  1. … 7 more files in changeset.
Remove deprecated task caching system properties

+review REVIEW-6503

  1. … 13 more files in changeset.
Use org.gradle.buildcache instead of org.gradle.caching

+review REVIEW-6451

  1. … 2 more files in changeset.
Introduce --build-cache command-line options

- Introduce --build-cache and --no-build-cache to enable build caches

- Replace isTaskOutputCacheEnabled with isBuildCacheEnabled

- Methods remain, but are deprecated

- Introduce org.gradle.buildcache to replace org.gradle.cache.tasks

- Update production code and tests to use new names

- Consolidate references to org.gradle.cache.tasks.push and pull

+review REVIEW-6451

  1. … 20 more files in changeset.
Revert "Merge PR #1029 - allow environment variables to be configured through Tooling API"

This reverts commit 4226d628f1973114480ad491b0435534e296f7c1, reversing

changes made to e279ac46742c17d68c557de22498a0732679b842.

  1. … 14 more files in changeset.
Revert "Configurable environment variables through Tooling API"

This reverts commit 367d4cbfd5e6c027b48552f47301ae3a6580004e.

  1. … 13 more files in changeset.
Configurable environment variables through Tooling API

PR: #1029

  1. … 13 more files in changeset.