Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Blindly try to fix performance regression while actually looking for it

Fix bug relying on the ordering of the lazy element realization

Ignore `SamplesCodeQualityIntegrationTest` temporarily

Merge pull request #6571 from jnizet/doc/cross-compilation

include Kotlin DSL sample for chapter building_java_projects (crossCompilation example)

Recognize @jnizet for Kotlin DSL samples in Building Java Projects chapter

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

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge branch 'master' into doc/cross-compilation

Merge pull request #6497 from jnizet/doc/working-with-dependencies

include Kotlin DSL sample for chapter working_with_dependencies

Recognize @jnizet for Kotlin DSL samples for Working With Dependencies user manual chapter

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

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge branch 'master' into doc/working-with-dependencies

Merge pull request #6587 from gradle/eskatos/overloads/manifest-merge-from

Add type-safe overload for Manifest.from(mergePath, configurationAction)

Fix typo leading to comparing an object with itself

Improve tests for `PendingSource` and `ElementSource`

Verify reduced conflict resolution with `prefer`

The improved implementation of `prefer` constraints reduced the cases

where conflict resolution is required during resolution. This commit

simply updates the test coverage to verify this.

Fixes #4181

Merge pull request #6577 from gradle/lacasseio/lazy/polymorphic-generic-test

Apply generic domain object collection test to `DefaultPolymorphicDomainObjectContainer`

Merge pull request #6576 from gradle/lacasseio/lazy/mutation-guard

Extract `MutationGuard` out of `CrossProjectConfigurator`

Refine codeQuality sample

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

Merge pull request #6510 from jjustinic/jjustinic/docs/code-quality-kts

Include Kotlin DSL samples for code quality plugin chapters

Merge remote-tracking branch 'origin/master' into jjustinic/docs/code-quality-kts

    • -1
    • +2
    /subprojects/docs/src/docs/release/notes.md
Recognize @jjustinic for Kotlin DSL samples for code quality plugins chapters

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

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Revert "Ignore failed performance test for now"

This reverts commit d548461de2434eb626bd37e2a00d494616fe1179.

Visit only the output file properties of a task when it is created in order to attach output properties to the producing task. At this stage there is no point visiting anything else and it is still somewhat expensive to visit all input properties for now.

  1. … 3 more files in changeset.
Change the task class metadata store into a global service backed by the cross-build in-memory cache infrastructure.

Previously this was a build scoped service, meaning that each task class was inspected once per build in a build tree on each Gradle invocation. Now, each task class is inspected once per build process.

Update test not to use 'prefer' constraint

Improve the performance of task property visiting by improving the efficiency of annotation lookup on the various property metadata types.

Also split the property metadata construction into a mutable builder used only for the construction and a separate immutable metadata implementation. This should allow for more efficient collection implementations to be retained in heap.

Change the task property metadata store into a global service backed by the cross-build in-memory cache infrastructure.

Previously this was a build scoped service, meaning that each type was inspected once per build in a build tree on each Gradle invocation (that is, once for the root build, once for buildSrc, and each included build and source dependency). Now, each type is inspected once per build process and the result reused across whatever builds run in that process. The cross-build infrastructure takes care of cleaning up entries for types that are no longer used.

Change `CrossBuildInMemoryCacheFactory` into an interface, add a test implementation and change several tests to use this.

Fix handling of 'prefer' constraints

This commit fixes a bug that resulted in us giving too much weight

to 'prefer' constraints when combined with other constraints.

By resolving each prefer constraint and trying each result in turn

starting with the highest, the processing of prefer constraints is

now predictable and reasonable.

This work highlights the need for more work to clean up the way that

we resolve multiple selectors for a module. Instead of resolving each

selector independently and then attempting to merge the results, we

should be merging the selectors first (where possible), prior to

resolving. This would reduce unnecessary dynamic resolves in the

case where we have both a range constraint `[10, 12]` and a fixed

version constraint `11`. A good example of where this would benefit

would be dependency locking, where all version ranges are effectively

constrained to a single version.

Use JUnitXml data model instead of plain xml processing (#6554)

This PR uses JUnit xml library to replace the previously used plain xml processing.

More coverage for selector merging

Add release notes mention for k-mack

    • -3
    • +4
    /subprojects/docs/src/docs/release/notes.md