Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add option to enable classes packaging

Attach node selection failures to constraint edges

When a constraint edge cannot find target nodes, we check if a selection

failure needs to be attached.

Issue #9692

Revert performance ratcheting

Revert changes to TarFileTree and ZipFileTree that assume you always visit the entire archive

Reproduce #9673

Update wrapper to 5.5.-rc-2

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Fix corner cases in graph resolution

The deferred selection still had a couple corner cases where the graph

was not in the right state. It was possible to leak selectors and/or

unattached dependencies.

Fixes #9641

Update sample of building a Gradle distribution

- Use Providers

- Avoid warnings from new validation checks

- use plugins {}

Link to sample of custom Gradle distribution

Remove unused/outdated customDistribution sample

Add warning about changes to worker API processes

Rearrange release notes

    • -24
    • +26
    /subprojects/docs/src/docs/release/notes.md
Clarify the meaning of declared version for publication

Closes #9565

Fix inconsistent serialization state when resolution cache expires

Resolution results are cached, but the cache may expire or entries

in the cache may be evicted, in case there are many configurations

resolved. This has the consequence that the streaming resolution

builder root factory may be called multiple times for the same

configuration, and therefore the file may be read several times

within a build.

This commit fixes a bug with attribute serialization where the state

of the serializer would make the 2d read incorrect.

Update release notes to mention abstract service injection methods, managed properties and the new user manual chapter.

Also some release notes editing.

    • -10
    • +34
    /subprojects/docs/src/docs/release/notes.md
Minor user manual edit.

Mention DependencyHandler : ExtensionAware in upgrade guide

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

Clarify the use of new ObjectFactory methods

    • -4
    • +6
    /subprojects/docs/src/docs/release/notes.md
Update wrapper to 5.5-rc-1

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Fix artifact transform link in release notes

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Some edits to the 'custom gradle types' user manual content.

Rebaseline buildSrc test

Update sample for 'managing collections of objects' user manual section.

  1. … 17 more files in changeset.
Merge pull request #9570 from gradle/gh/worker-api/groovy-regression

Don't use classloader registry in worker daemons

Move the 'managing collections of objects' content from 'custom plugins' to 'custom gradle types' user manual chapter.

Move classloader registry out of worker services as its no longer needed

Don't use the classloader registry in the worker daemon.

Instead, calculate whatever is necessary in the build process and

pass the information via the classloader structure.

Add Groovy, Java and Kotlin sample of creating an object using `ObjectFactory` to 'custom gradle types' user manual chapter.

  1. … 4 more files in changeset.
Moved the content about creating 'nested' DSL objects from the 'custom plugins' user manual chapter to the 'custom gradle types' chapter.

Fix incorrect `break` instead of `continue`