Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix duplicate section IDs in user guide.

  1. … 31 more files in changeset.
Tightening up unit test for perm gen monitoring

+review REVIEW-5973

Use our own internal representation of an Ivy ExcludeRule

  1. … 16 more files in changeset.
Improve test directory naming.

- The AbstractProjectBuilderSpec needs to not provide a project instance

before the subclass is known so that it can use the subclass and

method name in the creation of the temporary directory.

Per request, make the low memory daemon timeout more aggressive.

Use AbstractProjectBuilderSpec in announce

- This *should* work now that the `@UsesNativeServices` annotation has

been fixed to intercept earlier calls in the Spock Spec lifecycle.

UsesNativeServices intercepts more methods.

- Previously, if a Spec was annotated with `@UsesNativeServices` only a

method interceptor would be added to the Spec which essentially just

intercepts feature methods for that Spec. We now also intercept the

methods responsible for initializaing the shared and non-shared

fields on the class. This means that the NativeServices will be

initialized before any temporary testing directory can be made.

Use more idiomatic Groovy in attempt to fix test on IBM JDK 1.6

To be honest, I'm surprised that the `List.size` property accessor works

in other JDKs.

`TestUtil` initializes native services before using `ProjectBuilder`

This prevents the native services from being initialized into the test

temporary directory, which is problematic for 2 reasons:

1. The native services dll may be locked, preventing directory cleanup.

2. The directory may be cleaned up, meaning that native services is

statically initialized against a non-existent directory.

Introduce `DomainObjectCollection.withType` extension

And use it in the samples to configure the `Wrapper` task.

Overwrite relocated `gradle-script-kotlin` jar

Disable automatic API extension codegen

For currently there's no mechanism to make the generated extensions take

precedence over the original methods.

Add relocated gradle-script-kotlin jar to library

This workaround allows navigating to `gradle-script-kotlin` sources from

build scripts without compromising code completion (which currently

happens when referencing gradle-script-kotlin from its original

location).

Fix AbstractTaskTest with native services.

Increase the number of measurements for the `lotDependencies` case

This is an attempt to understand what we see on CI but not locally, that is that the 2.13 release for `lotDependencies` is faster even though it doesn't contain any difference.

Increase the number of measurements for the `lotDependencies` case

This is an attempt to understand what we see on CI but not locally, that is that the 2.13 release for `lotDependencies` is faster even though it doesn't contain any difference.

Polishing release notes

    • -3
    • +1
    /subprojects/docs/src/docs/release/notes.md
Fix many of the code-quality test file leaks.

- There is still one which isn't clearly leaking filehandles for the

same reasons as these four were. That will require further

investigation to fix.

build-init does not leak files

- This change also alters the `build-init.gradle` file so that future

tests in this subproject which leak files will cause tests to start

failing.

    • -0
    • +1
    /subprojects/build-init/build-init.gradle
Add Gradle wrapper to samples

with distributionUrl set to (temporary) custom distribution at

https://repo.gradle.org/gradle/demo/demo.zip

    • binary
    /samples/copy/gradle/wrapper/gradle-wrapper.jar
    • -0
    • +164
    /samples/copy/gradlew
    • -0
    • +90
    /samples/copy/gradlew.bat
    • binary
    /samples/extra-properties/gradle/wrapper/gradle-wrapper.jar
    • -0
    • +164
    /samples/extra-properties/gradlew
    • -0
    • +90
    /samples/extra-properties/gradlew.bat
    • binary
    /samples/hello-world/gradle/wrapper/gradle-wrapper.jar
    • -0
    • +6
    /samples/hello-world/gradle/wrapper/gradle-wrapper.properties
    • -0
    • +164
    /samples/hello-world/gradlew
    • -0
    • +90
    /samples/hello-world/gradlew.bat
Lock in file cleanup for antlr

- This makes it an error in our continuous builds for antlr tests to

leave files behind.

Make test cleanup files.

- This also makes it an error to leave files behind after a test.

Revert AbstractProjectBuilderSpec useage

- This reverts commit 950ef846426be8ce0dbaac93300fc7d8cfc8cb3c.

- It looks like trying to use the AbstractClass breaks on Windows.

Revert AbstractProjectBuilderSpec for announce.

This reverts commit 5a62a816b1f160ac704fc79cbb14be61e6babf7e.

Use AbstractProjectBuilderSpec build-comparision

- This change also makes it an error in our builds if tests in the

build-comparision subproject begin leaving files behind again.

Use AbstractProjectBuilderSpec for announce.

Rename samples/{java-application => hello-world}

    • -0
    • +8
    /samples/hello-world/build.gradle.kts
    • -0
    • +1
    /samples/hello-world/settings.gradle
    • -0
    • +7
    /samples/hello-world/src/main/java/samples/HelloWorld.java
    • -1
    • +0
    /samples/java-application/settings.gradle
Fix one more test in the announce subproject.

Stop the announce subproject from leaving files.

Add samples/README.md