Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove always-true SET_ENV_VARIABLE test precondition

  1. … 6 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 403 more files in changeset.
Fix tests

    • -1
    • +1
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 368 more files in changeset.
Disable failed tests on EC2 agents for now

https://github.com/gradle/gradle-private/issues/2876

  1. … 3 more files in changeset.
Strip userinfo from Gradle dist cache

Signed-off-by: Nicholas Gates <ngates@palantir.com>

  1. … 2 more files in changeset.
Re-try wrapper distribution installation when invalid

If the wrapper detects the distribution is invalid, instead of failing

indefinitely, we delete the marker file and retry installing

the distribution.

This helps builds recover from distributions that were corrupted by

our cache clean-up.

  1. … 4 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Organize imports

  1. … 339 more files in changeset.
Replace anonymous classes with lambdas

  1. … 711 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use "0" to indicate unknown version in User-Agent

    • -1
    • +1
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 4 more files in changeset.
Remove build-receipt.properties from Wrapper jar

Prior to this commit, the `gradle-wrapper.jar` was created when

executing the `wrapper` task by copying the `gradle-wrapper.jar`

classpath resource and adding a Wrapper-specific

`build-receipt.properties` to it. The properties file only contained a

`versionNumber` property that was solely used to build the User-Agent

for downloading the distribution.

Now, the User-Agent no longer includes the version number. Thus, the

Wrapper-specific `build-receipt.properties` file is no longer needed.

This change will make it easier to publish the Wrapper jar or, as a

first step, its checksum alongside the distributions.

Resolves #6632.

    • -25
    • +17
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 6 more files in changeset.
Add better error reporting if directory for lock file cannot be created

See https://discuss.gradle.org/t/gradle-wrapper-throws-filenotfoundexception/18633

where this could have been helpful. If the directory cannot be created then

the lock file itself cannot be created.

  1. … 1 more file in changeset.
Simplified unit test

Remove `@LeaksFileHandles` from a test that doesn't seem to

Attempt to fix leaking file handle on windows unit test

Remove old wrapper properties from WrapperExecutor

+review REVIEW-6014

  1. … 6 more files in changeset.
Fix test broken with Spock 1.0

No need to duplicate the class. Simply reuse what we have in the wrapper module and move test over there.

+review REVIEW-5653

    • -0
    • +75
    ./groovy/org/gradle/wrapper/GradleUserHomeLookupTest.groovy
  1. … 3 more files in changeset.
Add back more @LeaksFileHandles.

  1. … 7 more files in changeset.
Add test coverage for wrapper download checksum verification.

+review REVIEW-5516

    • -0
    • +1
    ./resources/org/gradle/wrapper/wrapper.properties
  1. … 5 more files in changeset.
Forcefully clean up test temp directories and mark tests for which it fails on Windows with @LeaksFileHandles so that they still pass.

+review REVIEW-5504

  1. … 97 more files in changeset.
Wrapper respects -q/--quiet options

    • -1
    • +1
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 6 more files in changeset.
Update compressed hashing to use base 36 (0-9, a-z).

Remove MD5 from URL hash method name. Add documentation.

  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
    ./groovy/org/gradle/wrapper/DownloadTest.groovy
  1. … 1210 more files in changeset.