Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Minor edits on release notes

+review REVIEW-6501

    • -5
    • +5
    /subprojects/docs/src/docs/release/notes.md
Add a separate project registry service for a composite

To enable de-duplication of names across all projects in a composite build,

the de-duplicator requires knowledge of all projects up-front.

The `BuildProjectRegistry` service provides this information.

Extracted project name de-duplication into a service

Rename `NamedDomainObjectContainer{Configuration => Scope}`

Rename `ClientModule{Configuration => Scope}`

Polish

- Normalise placement of `private`, `protected`, `internal` and

`inline` modifiers

    • -2
    • +4
    /buildSrc/src/main/kotlin/criterion/Duration.kt
    • -2
    • +4
    /buildSrc/src/main/kotlin/criterion/benchmark.kt
  1. … 28 more files in changeset.
Execute Kotlin build scripts when computing the classpath

But ignore errors because any classpath is better than no classpath.

See #339

Return previous dependencies when TAPI model request fails

See #249

Add missing type safe buildDir setter on Project

Add missing type safe collections setters on several conventions/extensions/models/dsl-types

Use Enum.getDeclaringClass() to avoid NPE in comparing enums

Merge pull request #332 from gradle/pm-remove-ProjectExtensionsTaskRegistrationAction

Remove ProjectExtensionsTaskRegistrationAction, apply a plugin instead

Add missing type safe setters on several conventions/extensions/models/dsl-types

Add missing type safe setters on several tasks

Polish PlayCoffeeScriptCompile and TaskGeneratedSingle*Report tasks

Remove now unnecessary noop overridden setters

Only download metadata in parallel

This commit builds on top of the parallel dependency resolution, but limits it to parallel download of metadata. It introduces

an API to determine if the network is effectively going to be hit, in which case edges are added to the queue of work to be

done in parallel. If not (locally available), everything is done serially. This is done because of important contention on

the global lock coordination service lock, which kills performance.

Log timestamp of `log` invocation

Upgrade Groovy to 2.4.11-SNAPSHOT

We need a nightly released with a 2.4.11-SNAPSHOT, because this includes fixes for two important bugs that prevent build caching to work properly in a shared environment. Once a nightly is out we'll be reverting back to using 2.4.10.

+review REVIEW-6505

Revert "Upgrade core Groovy to 2.4.11-SNAPSHOT"

This reverts commit 5f7d951ea97fd7cb1b496df26352c1ffc9408077.

+review REVIEW-6505

Make performance tests stricter

Rebaseline performance tests

The "first use" case is slower because we do more validation of task classes.

The exclude rule merging case is slower because parallel resolution added some

overhead in the case where there is nothing to download. We have improvements

lined up for that, so this rebaselining is just to keep the build from failing

until we merge the fixes.

Use lazy IDE artifacts instead of deferred registration

The 'name' attribute of an IDE artifacts can depend on user configuration.

For this reason, we were deferring the registration of these artifacts until

after the project was evaluated.

This change simplifies things by registering the artifact eagerly, but

having the artifact determine the module name lazily.

Upgrade core Groovy to 2.4.11-SNAPSHOT

This is to test the fixes for:

- https://issues.apache.org/jira/browse/GROOVY-8148

- https://issues.apache.org/jira/browse/GROOVY-8142

Other Groovy dependencies are left at 2.4.10 until 2.4.11 GA is released.

+review REVIEW-6505

Ensure reproducible order of task property validation messages

+review REVIEW-6501

Fix random order of validation messages in tests

+review REVIEW-6501

Mention stricter task property validation in release notes

+review REVIEW-6501

    • -0
    • +12
    /subprojects/docs/src/docs/release/notes.md
Fix property serializability

+review REVIEW-6501

Fix GenerateProjectSchema UP-TO-DATE behavior

By declaring its inputs

Fix regression with `org.gradle.parallel` property (#1828)

* Fix regression with org.gradle.parallel property

Issue: gradle/gradle#1827

* Convert unit test to integration test

* Add back test case for org.gradle.parallel=false

* Fix parallel integration test

* Fix parallel integration test

Configuration accessors for convention and configuration return Unit

Make it explicit so Dokka doesn’t have to infer it