Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Move file collection APIs out of core (#6525)

This change breaks out code that directly relates to handling `FileCollection`s and their build dependencies (called `TaskDependency` at this time) into a separate subproject (`:files`). This is so that other modules can build on just this module instead of having to depend on the oversized `:core`.

As part of the change `Provider`s have been moved to `:base-services`. In a possible followup step `:base-services` could be split into a module that captures the very basic concepts of Gradle's data model: it's all about `DomainObjectCollection`s that can be configured via `Action`s, transformed via `Transformer`s, lazyness can be provided via `Provider`s and rich mutable data types can be created via `Property` objects.

Another addition to `:base-serivces` is the directed graph traversal algorithms used in many parts of Gradle.

  1. … 429 more files in changeset.
Merge pull request #1069 from gradle/bamboo/settings-apply-ObjectConfigurationAction

Remove unnecessary `apply` method from `SettingsScriptApi`

improve the project-with-buildSrc exampe to show how to define extension properties and functions

Signed-off-by: jnizet <>

    • -1
    • +3
Remove unnecessary `apply` method from `SettingsScriptApi`

Resolves #1066

Remove unnecessary `apply` method from `SettingsScriptApi`

Resolves #1066

Merge pull request #6506 from gradle/bamboo/silence-kotlin-dsl-warning

Silence kotlin-dsl warning

Polish `settings.gradle.kts`

Polish `settings.gradle.kts`

Let script templates declare JVM target 1.8

Tested with the IntelliJ IDEA Kotlin Plugin 1.2.70-dev-1738.

Resolves #1067

Let script templates declare JVM target 1.8

Tested with the IntelliJ IDEA Kotlin Plugin 1.2.70-dev-1738.

Resolves #1067

Include Kotlin DSL samples for chapter _Lazy Configuration_

Signed-off-by: Mike Kobit <>

  1. … 20 more files in changeset.
Merge branch 'master' into bamboo/silence-kotlin-dsl-warning

Merge branch 'master'

Revert "Use resourceDirs for resources"

This reverts commit 3669395ec066fc29fc7eb119e82e0a7de4e640b2.

Use idea-ext plugin 0.1

Configuring the copyright doesn't seem to work in later versions.

    • -1
    • +1
Add :files project

And remove build-services-java9

    • -1
    • +1
Bump minimum version for composite build historical performance tests

Lenient locking failures for empty configurations

When resolving an empty configuration, there is a short circuit

mechanism in place. Now that locking can cause resolution failures, this

mechanism needs to be turned off in some cases.

Fixes #6383

Reworded build scan plugin section in release notes

    • -22
    • +2
Tweak scan plugin section in relese notes

    • -3
    • +3
Mention build scans in gradle 4.10 release notes

    • -2
    • +17
Set mirror for all repositories (#6449)

Refine repository management and mirrors

Previously our repository/mirror management mechanism had several defects:

- Some plugins registered repository which we didn't manage (e.g. `kotlin-dsl` registered `kotlin-dev` repository).

- The duplicate code existed in both `buildSrc/settings.gradle.kts` and `mirrors.gradle.kts`.

- It's extremely confusing that which repositories we're using in the build.

- `libs-release/libs-snapshots/libs-milestones` are unnecessary when `libs` is present.

- Some repositories are not mirrored at all.

This PR refines the whole repository/mirror management by:

- Users define repositories in the common way: declare repositories in build script via repositories block.

- The mirror script replaces the repository url after everything is set.

- No duplicate code.

Include Kotlin DSL samples for Ant user manual chapter

Signed-off-by: James Justinic <>

    • -157
    • +103
  1. … 107 more files in changeset.
Handle setting the value of a `Property<String>` using a `GString` from Groovy.

Fix creation of `Property` instances from Kotlin when Kotlin basic types such as `kotlin.Boolean` are used as the property type.

Add a bunch of test coverage for inter-operability between plugins that use properties and that are implemented in Java/Groovy/Kotlin and consumers implemented in Groovy DSL/Kotlin DSL/Java/Kotlin.

Enable a test.

Move test to live with other related tests.

Use correct signature for useTestNG

- makes the API clearer

- makes the API consistent with the other useXxx methods

- makes it possible to use the method with the KotlinDSL without casting

Issue #6519

Signed-off-by: jnizet <>

Merge pull request #6455 from gradle/oehme/performance/file-roots

Make FileUtils#calculateRoots more efficient

include Kotlin DSL sample for chapters announce_plugin and build_announcements_plugin

To make it easier to include the relevant parts of the build script in

both chapters, I split the sample in two parts: one for the announce

plugin and one for the build-announcements plugin.

Signed-off-by: jnizet <>

    • -0
    • +25
  1. … 4 more files in changeset.