Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Make :snapshots an implementation dependency to :core

Move package org.gradle.internal.snapshot to snapshots project

  1. … 56 more files in changeset.
Convert `core` build script to Kotlin

  1. … 2 more files in changeset.
Revert back to using a groovy-all.jar built by ourselves


  1. … 9 more files in changeset.
Model test fixtures as a propert artifact

Previously they were modeled as just a file collection,

which confused the IDEA importer. They now use the more

canonical way of defining an additional artifact.

In a next step they should be reimplemented using variant

aware dependency resolution, so that we don't need a special

DSL to declare these dependencies.

  1. … 14 more files in changeset.
Depend on groovy-all

  1. … 11 more files in changeset.
Merge branch 'master' into lptr/core/upgrade-to-groovy-2.5

  1. … 1 more file in changeset.
Expose groovy-test as dependency

  1. … 3 more files in changeset.
Upgrade to Groovy 2.5.2 and make compilation work

  1. … 8 more files in changeset.
Fix Gradleception build

Gradle 5.0 changes the behavior of BOM import, which is now required to be

imported explicitly using the `platform` keyword. However, this is not yet

available on the Gradle version we use to build, so this commit introduces

a temporary fix so that we can use the same syntax on all tested versions

of Gradle.

  1. … 4 more files in changeset.
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. … 443 more files in changeset.
Simplify :apiMetadata

by not creating a separate Jar task

Signed-off-by: Paul Merlin <>

  1. … 6 more files in changeset.
api-metadata jar only required by integration tests

move dependency from testRuntime to integTestRuntimeOnly

Signed-off-by: Paul Merlin <>

  1. … 2 more files in changeset.
Let core testRuntime depend on the api metadata jar

Improve laziness of gradlebuild by using build scans

  1. … 16 more files in changeset.
Convert all remaining task creation to lazy configuration

  1. … 25 more files in changeset.
Allow build scans to gracefully degrade with the implicit continuous build added in 4.7 (#5369)

  1. … 13 more files in changeset.
Move cleanup plugin into cleanup subproject

- Add integration test using TestKit

- Rewrite EmptyDirectoryCheck to use Provider API

  1. … 26 more files in changeset.
Introduced the property moduleType to derive source compatibility settings

  1. … 80 more files in changeset.
Refactored Kotlin gradlebuildJava extension object into proper Gradle extension

  1. … 10 more files in changeset.
Moved grooyPlugin.gradle.kts into a buildSrc plugin

- Removed all usage of extra properties added by groovyPlugin

- Renamed to UnitTestAndCompilePlugin

- Extracted uber configuration from root and groovy script into JavaProjectsPlugin

  1. … 14 more files in changeset.
Removed almost all extra properties and extracted build environment check into plugin

- Moved extra properties into extension methods

- Created AddVerifyProductionEnvironmentTaskPlugin

- Moved build-extensions from kotlin-dsl to configuration submodule

- Created separate extensions for project groups

  1. … 38 more files in changeset.
Extracted test file cleanup from root build into plugin

- Moved configuration of test file clean into extension

- Added TestFileCleanUpPlugin

- Moved CiReporting and Classycle plugin into codequality module

  1. … 23 more files in changeset.
Migrate code quality configuration to Kotlin.

  1. … 7 more files in changeset.
"coordinate" -> "coordinates"

  1. … 60 more files in changeset.
Move dependency constraints into a separate project

  1. … 69 more files in changeset.
Fix failures on CI

  1. … 13 more files in changeset.
Add test case for Kotlin init scripts

  1. … 2 more files in changeset.
Extract idiomatic test-fixtures plugin to buildSrc

Plugin is applied to all "groovy projects", see `groovyProject.gradle`.

The plugin configures the Project as a test fixtures producer if

`src/testFixtures` is a directory.

The plugin configures the Project as a test fixtures consumer according

to the `testFixtures` extension configuration.

No more Groovy Closure with optional parameters as a Project extra


Test-fixtures configuration rely on a Groovy DSL only feature that

allows to pass a collection of dependency notations when declaring

dependencies. The Kotlin DSL lacks this feature, see

A workaround has been put in place in `build-extensions.kt` in order to

move forward until this is properly fixed in the Kotlin DSL.

Signed-off-by: Paul Merlin <>

  1. … 70 more files in changeset.
Use asm 6.0 instead of BETA

Signed-off-by: Bo Zhang <>

  1. … 7 more files in changeset.