Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #599 from jnizet/doc/encoding

doc: design doc for character encoding handling

Accept it as a valid result when the build gets executed twice

- fix flaky test

- see 9672b87c commit message

Fix cancellation for integrated composite

Needed to map exceptions correctly for consistency with non-integrated composite.

Cleaning up unit test conditions

+review REVIEW-5898

Fix link

    • -3
    • +3
    /subprojects/docs/src/docs/release/notes.md
Inject Gradle Home when creating TestBuildScopeServices

Avoid project.gradle.gradleHomeDir of ProjectBuilder being null.

+review REVIEW-5867

Improving javadoc comment to mention thread safety of worker

+review REVIEW-5884

Enable most tests for supplying arguments to request on integrated composite

Certain arguments are not supported, such as java.home. Added a warning when integrated

composite build is enabled.

Fix sample for changed API

Revert to old behavior of gradleApi() and gradleTestKit()

The new behavior is still reachable through internal APIs but not exposed to the end user.

+review REVIEW-5867

    • -25
    • +0
    /subprojects/docs/src/docs/release/notes.md
    • -1
    • +41
    /subprojects/test-kit/test-kit.gradle
Renamed `Applicator` to `CachingPropertyApplicator`

+review REVIEW-5873

Enabled test for stdout/stderr with integrated composite

Move follow symlinks to a field.

+review REVIEW-5852

- This change also moves the deletion of the test symlink in Jdk7Symlink

to a finally block instead of at VM shutdown.

Fix CI

+review REVIEW-5867

Renamed CompositeBuildLauncherInternal -> CompositeBuildLauncher

Renamed new identifier properties on tooling models

GradleBuild.getIdentifier() -> getBuildIdentifier()

BuildEnvironment.getGradleBuildIdentifier() -> getBuildIdentifier()

GradleProject.getIdentifier() -> getProjectIdentifier()

BasicGradleProject.getIdentifier() -> getProjectIdentifier()

BuildInvocations.getGradleProjectIdentifier() -> getProjectIdentifier()

ProjectPublications.getGradleProjectIdentifier() -> getProjectIdentifier()

Launchable.getGradleProjectIdentifier() -> getProjectIdentifier()

GRADLE-3423: Inner class reference is no longer resolved

Javadoc tweaks for `GradleConnection`

GRADLE-3423: Inner class reference is no longer resolved

Fix license header

Add an IDEA performance test

update daemon specs after planning meeting

Replace dependency on Guava's `CacheLoader` with an ad-hoc cache implementation

Simplify composite build demo code

Clarify how Gradle used to behave

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Making add to build operation queue thread safe

Transform unknown model exceptions received from daemon composite coordinator

Internal model exceptions were leaking out in the model results returned for

and integrated composite. These are now mapped correctly to public exception types.

Specify which tests should NOT be run with an integrated composite

Instead of specifying the tests that DO work with an integrated composite,

we specify which ones do not yet work. This should make it easier to identify

the tests that still need fixing. Before integrated composite can be considered

fully functional from the Tooling API, all of these tests need to be fixed.

Check the validity of target build earlier in composite build task execution

When executing a task on a composite, the target build needs to be specified

either via the Launchable instance or directly. We now check that this build

is part of the composite earlier in execution, allowing the check to apply

equally to integrated and non-integrated composites.

Enabled testing of integrated composites for many cases

For tests that are already functional, we now test an 'integrated' composite

when testing against the current (under-development) gradle version, retaining

the existing coverage with a non-integrated composite for older versions.

Note that this isn't great, since we've removed coverage for a non-integrated

composite against the current gradle version. Need to enhance the test runner

to include both scenarios.