Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Extract some source dependendency resolution logic that is common to the offline and online modes into a decorator and add some synchronization so that versions for a given Git repo are not resolved in parallel, but versions from different Git repos are.

Change `BlockingHttpServer` so that it can handle multiple concurrent requests to the same URL.

Reset Git working dir to the Git revision selected for the requested version, rather than whatever revision happens to be the HEAD of the local clone.

Run `git reset` instead of `git update` on the Git clone created for source dependencies, to avoid unnecessary remote operations. Also renamed the working dirs and metadata dirs used for source dependencies.

Remove the internal support for source dependencies from a directory. Now, all source dependencies must be hosted in a Git repository, which may be local.

Some tweaks to source dependency error messages.

Add `--offline` support for source dependencies. The result of resolving a given version selector against a given repo is persisted across builds and the result reused in a later build if run in `--offline` mode.

Move the source dependency resolution infrastructure out of the dependency management project and into version control project.

Fix integration tests

Merge remote-tracking branch 'origin/master' into lacasseio/lazy/disallow-hooks

    • -3
    • +20
    /subprojects/docs/src/docs/release/notes.md
Merge ProtectApiService into CrossProjectConfigurator

  1. … 4 more files in changeset.
Detangle the source dependency resolver from the project dependency resolver so that the source dependency resolver can move out of the dependency management project.

Merge pull request #6112 from gradle/sg/lazy/domain-object-provider

Introduce DomainObjectProvider

Reuse `unsafeLazy`

Polish `ApiExtensionsGenerator`

- Remove unnecessary empty lines

Polish `ApiTypeProvider`

- Replace `coll.size - 1` by `coll.lastIndex`

- Join lines to improve flow

Polish `ApiExtensionsGenerator`

- Rename `asArguments` => `asArgument`

- Replace if/else chain by when expression

- Compose method

- Put arguments of long call expression on separate lines

Polish `ApiTypeProvider`

- Extract complex expression into explaining method

Polish `ApiExtensionsGenerator`

- Extract complex expression into explaining method

Fix `GradleApiExtensionsIntegrationTest` after merge

Remove special handling for test report directories

Test reports use a unique directory by default now

Merge branch 'develop' into eskatos/gradle-api-gen/kclass-and-groovy-named-arguments

Merge branch 'develop' into eskatos/gradle-api-gen/kclass-and-groovy-named-arguments

    • -4
    • +0
    /subprojects/provider/provider.gradle.kts
Merge pull request #985 from gradle/eskatos/imports/ogkdpd

Implicitly import o.g.k.d.plugins.dsl.*

Introduce DomainObjectProvider

Domain object containers return a DomainObjectProvider instead of a plain Provider

so users can configure domain objects

This is similar to the previously introduced TaskProvider

Implicitly import o.g.k.d.plugins.dsl.*

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

Move kotlinEap() to internals

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

Remove type hierarchy for PhysicalDirectorySnapshot

We now have only one implementation.

Remove kotlinDev()

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