Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Move JavaMethod factory methods to JavaMethod

  1. … 22 more files in changeset.
Fix Javadoc warning

Decorate all domain collection container for emitting build ops (#7876)

* Update all domain object container with decorator for tracing executed callback actions

* Add decorator to a ll required occurances of DefaultDomainObjectSet

* Keep ctor for DefaultPolymorphicDomainObjectContainer as its used in gradle-idea-ext plugin

* Bring back DefaultDomainObjectSet constructor used by the android plugin

* keep backwards compatibility

  1. … 120 more files in changeset.
Fix nullability of `additionalClassDirs` and `additionalSourceDirs`

properties on `JacocoReportBase`

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

  1. … 1 more file in changeset.
Fix tests and checkstyle

Deprecate JacocoReportBase setters

Fix Javadoc so JavaParser can find it

  1. … 4 more files in changeset.
De-incubate 3.x package-info files

And files we missed due to moving things to coreApi.

  1. … 32 more files in changeset.
De-incubate 3.x Jacoco API

De-incubate 2.x jacoco API

Convert `jacoco` build script to Kotlin

  1. … 1 more file in changeset.
Merge CORE and PLUGIN module types

  1. … 28 more files in changeset.
Upgrade default tool version of JaCoCo to 0.8.2

Resolves #6624.

  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 logging deprecation warning

Master is now 5.0, so we will log deprecations for 6.0 automatically.

Remove another call to append

Deprecate jacoco.append

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

  1. … 1 more file in changeset.
Add documentation why we delete the coverage file

Fix Jacoco to work with build cache

Jacoco code coverage should work well with the build cache out of the

box. Since appending to a coverage file works with parallel test

execution, see https://github.com/jacoco/jacoco/pull/52, we set

`append=true` and delete the coverage data just before the test task

starts to execute.

Note that this is a breaking change: separate tasks now cannot use the

same coverage file, since each of the tasks will delete it.

Issue: #5269

  1. … 1 more file in changeset.
Add comment to Jacoco plugin about cleanup of task output for JacocoReport

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

Fix JacocoMerge not using defered API

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

Calculate default report location the way it used to be

Rework JacocoReportBase to avoid use of afterEvaluate

Polish changes to JacocoPlugin

- Put configuration action inline with register

- Remove extra private method and just use deprecation logger to suppress deprecation

Fix Jacoco plugin forcing configuration of Test task and make other tasks lazy

Closes #6245

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

Converted many Groovy script to Kotlin and improved the Kotlin DSL usage in some existing Kotlin scripts.

  1. … 94 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

  1. … 98 more files in changeset.
Revert "Change a bunch of plugins to use the extensions added by the Java base plugins rather than the convention objects."

This reverts commit 705bb590565628a568814413f20d1675033693ab.

  1. … 17 more files in changeset.
Change a bunch of plugins to use the extensions added by the Java base plugins rather than the convention objects.

  1. … 17 more files in changeset.
Re-enable Jacoco test for Java9 (#5557)

  1. … 1 more file in changeset.