WrapperGenerationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make inner classes static where possible

Signed-off-by: Steven Crockett <crockett.j.steven@gmail.com>

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 42 more files in changeset.
Update expected hash of wrapper jar

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
Fix tooling-api unit test for distribution install

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 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.

    • -2
    • +2
    ./WrapperGenerationIntegrationTest.groovy
  1. … 4 more files in changeset.
Refactor logging for wrapper download

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 2 more files in changeset.
Refactor logging for wrapper download

    • -2
    • +2
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 more files in changeset.
Fallback to download dot behavior if the size of the distribution is unknown

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 2 more files in changeset.
Update wrapper hash in integration test

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
Update expected `gradle-wrapper.jar` hash

After the change to `ReproduciblePropertiesWriter` to use

`PropertiesUtils` which writes the properties in order causing the

classpath manifests to change.

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
Property handle UNC paths for the wrapper path.

File::getPath() does not have the correct behavior specifically for network paths, but has the same behavior for all other types

Signed-off-by: Thad House <thadhouse1@gmail.com>

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 2 more files in changeset.
Let each module jar contain an api parameter names index

for the GradleApiParameterNamesTransform to consume them

instead of regenerating it on each xform

this makes the build configuration back to normal speed

the :module:parameterNamesIndex task is cacheable but isn't that cheep

:apiMetadata:apiParameterNamesIndex is still required until the next

wrapper update

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

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 10 more files in changeset.
Remove Implementation-Version from Wrapper JAR manifest

In order to make it reproducible across versions the Wrapper JAR no

longer contains the `Implementation-Version` manifest entry.

Related issue: #6632.

    • -1
    • +20
    ./WrapperGenerationIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix WrapperGenerationIntegrationTest

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
Assert Wrapper JAR checksum is stable

To ensure the same checksum is generated regardless of the used version

of Java and the used operating system, the test now checks for a hard-

coded checksum that should only have to be changed rarely because the

class files that ends up in the Wrapper JAR changes very infrequently.

    • -2
    • +6
    ./WrapperGenerationIntegrationTest.groovy
Coverage for :wrapper generated files reproducibility

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

    • -0
    • +13
    ./WrapperGenerationIntegrationTest.groovy
Preliminary support for building Gradle on Java 9 (#5811)

This is a follow-up of https://github.com/gradle/gradle/pull/5749 . #5749 introduced Java 9 compiler but broke IDE import. This PR aims at fixing IDE import. With this PR, we can run `./gradlew idea` and set project SDK to JDK 9 to run integration tests.

The changes are:

- Upgrade javaassist to JDK9-compatible version

- Adds empty implementation to `AnnotationProcessingCompileTask` and `ResourceCleaningCompilationTask`

- Remove support of Java 5 because Java 9 can't generate Java 5 bytecode any more.

- Slightly increased wrapper size limitation because two extra classes are added.

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 21 more files in changeset.
Add distributionSha256Sum config to wrapper task (#1777)

    • -0
    • +8
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 more files in changeset.
Poll instead of sleep in integration test for changing wrapper timestamps

    • -3
    • +8
    ./WrapperGenerationIntegrationTest.groovy
Avoid generating different wrapper jar or property files

- Remove the timestamp in gradle-wrapper.properties

- Remove the timestamp in the wrapper jar generated by the Wrapper task

- Add an integration test that generates the wrapper twice and expect

identical jar and property files

    • -0
    • +16
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 more files in changeset.
Update test to permit a 54Kb wrapper jar

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
Address review comments for distribution type

- Rename `dist-type` to `distribution-type`

- Add better and more Javadoc

#678

+review REVIEW-6148

    • -2
    • +2
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 more files in changeset.
Add option to choose distribution type for Wrapper Task (#678)

    • -0
    • +19
    ./WrapperGenerationIntegrationTest.groovy
  1. … 4 more files in changeset.
Add test coverage for wrapper download checksum verification.

+review REVIEW-5516

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 6 more files in changeset.
try fix failing integration test on windows ci

    • -2
    • +2
    ./WrapperGenerationIntegrationTest.groovy
Generate wrapper with specific version from command-line only

    • -3
    • +23
    ./WrapperGenerationIntegrationTest.groovy
  1. … 1 more file in changeset.
Wrapper respects -q/--quiet options

    • -1
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 7 more files in changeset.
Use the implicit wrapper task to generate the wrapper in the integration tests.

    • -2
    • +1
    ./WrapperGenerationIntegrationTest.groovy
  1. … 3 more files in changeset.
Split up the wrapper int tests and added some coverage for failed dist download.

    • -0
    • +50
    ./WrapperGenerationIntegrationTest.groovy
  1. … 2 more files in changeset.