Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update build scan plugin to 1.16

Include Kotlin DSL samples in wrapper docs

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge pull request #6456 from gradle/wolfs/deprecations/fix-task-inputs-property-usages

Re-introduce CompatibilityAdapterForTaskInputs

Add removals to release notes

    • -0
    • +3
    /subprojects/docs/src/docs/release/notes.md
Re-introduce CompatibilityAdapterForTaskInputs

The adapter is still needed for `TaskInputs.property` which return type

changed in 4.3.

Make FileUtils#calculateRoots more efficient

Instead of a quadratic algorithm (comparing every

file against every other file), it now uses an

O(nlogn) algorithm, sorting the files first and

then removing all those that are covered by their

predecessors.

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Deprecate jacoco.append

It makes no sense to set the property to `false`.

Update wrappers to Gradle 4.10-RC3

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
    • binary
    /samples/ant/gradle/wrapper/gradle-wrapper.jar
    • -10
    • +13
    /samples/buildSrc-plugin/gradlew
  1. … 118 more files in changeset.
Merge pull request #1056 from gradle/bamboo/exercise-lazy-api

Let kotlin-dsl build exercise the lazy container API

Add documentation why we delete the coverage file

Merge pull request #6451 from gradle/oehme/performance/root-cause

Avoid expensive ExceptionUtils.getRootCause

Merge pull request #6410 from gradle/wolfs/deprecations/task-inputs-chaining

Disallow task inputs/outputs chaining

Take advantage of the lazy container API

    • -31
    • +31
    /subprojects/provider/provider.gradle.kts
Take advantage of the lazy container API

    • -31
    • +31
    /subprojects/provider/provider.gradle.kts
Raise version to 5.0

  1. … 10 more files in changeset.
Polish `source-control` sample

Polish `source-control` sample

Unignore `SourceDistributionResolverIntegrationTest`

Unignore `SourceDistributionResolverIntegrationTest`

Merge branch 'release'

Merge branch 'master'

Revert usage of Guava in DefaultListenerManager

Don't parse source file when useless

Make executor stop test deterministic

The previous version, with bad timing, could have the action waiting for

750ms complete before `executor.stop` was invoked, and in that case it

would not throw as `stop` would complete normally.

Now the action will block until _after_ the `executor.stop` is invoked,

making the test deterministic.

Because of that, the stop operation duration assertion has been removed

and the `executor.stop` timeout has been reduced.

Make "belongsTo" create virtual components by default

This commit changes the behavior of "belongsTo" in component metadata rules,

so that it creates a virtual platform by default. By doing this, we optimize

the engine which can now avoid checking for a real, published platform,

avoiding costly repository calls to fetch metadata.

If a component needs to declare that it participates in a published platform,

or if we don't know if the platform is published or not, then the alternate,

new `belongsTo(id, virtual)` method needs to be called.

This is a performance optimization only.

Closes #6447

Avoid expensive ExceptionUtils.getRootCause

This method uses reflection to work on very old Java versions.

This is not necessary for our purposes, we can just use getCause

instead. Using the commons-lang method caused a severe slowdown

when there were many resolution errors.

Merge pull request #6414 from gradle/eskatos/docs-kts/build-script-basics

Add Kotlin DSL samples to Build scripts basics user manual chapter

Use guava's ByteStreams

Fix #6114 by DisconnectedInputStream

See https://github.com/gradle/gradle/issues/6114

Sporadically we see execution timeout on our CI, and it turned out that some

Windows processes hang forever. This PR made an attempt to fix this issue by

`DisconnectableInputStream`.

Test to reproduce #6114