Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce a specific exception type for verification failures

This introduces VerificationCheckFailedException to the Gradle API.

It's purpose is to indicate that a check task was successfully

executed but resulted in failure due to violations.

This allows other tools and Gradle logging to distinguish between

a verification tool failing to execute and one that failed for

"normal and expected" reasons.

The code quality and testing plugins are updated to use this new

exception type when appropriate.

  1. … 6 more files in changeset.
De-incubate new Jacoco methods

  1. … 2 more files in changeset.
Merge pull request #10208 from gradle/wolfs/deprecations/jacoco

This reverts commit b312db3e00bd27e35b289e4f95368db76601aea2.

  1. … 6 more files in changeset.
Revert "Merge pull request #10208 from gradle/wolfs/deprecations/jacoco"

The changes break the Kotlin plugin smoke test.

This reverts commit ad214c71e2a996e26898ad8eb3dc4d1c4d50ee51, reversing

changes made to d019884cc118a3ece9616e16928850f153cac081.

  1. … 6 more files in changeset.
Revert "Remove deprecated methods from Jacoco types"

  1. … 6 more files in changeset.
Remove deprecate methods from Jacoco types

  1. … 5 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 663 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 909 more files in changeset.
Change few private methods to static

  1. … 251 more files in changeset.
Use method reference, where applicable

  1. … 166 more files in changeset.
Use method reference, where applicable

  1. … 164 more files in changeset.
Organize imports

  1. … 339 more files in changeset.
Replace anonymous classes with lambdas

  1. … 708 more files in changeset.
Replace anonymous classes with lambdas

  1. … 692 more files in changeset.
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. … 121 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

  1. … 2 more files in changeset.
Deprecate JacocoReportBase setters

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

    • -2
    • +0
    ./rules/JacocoViolationRulesContainer.java
  1. … 1 more file in changeset.
De-incubate 2.x jacoco API

  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.
Rework JacocoReportBase to avoid use of afterEvaluate

  1. … 2 more files in changeset.
Add `@Nullable` to `@Optional` task inputs

where applicable.

  1. … 45 more files in changeset.
Deprecated `PropertyState` interface, which is replaced by `Property`. Deprecated the `Project.property()`, `Script.property()` and `ProviderFactory.property()` methods, which are replaced by `ObjectFactory.property()`.

  1. … 19 more files in changeset.
Extracted public `Property` interface out of `PropertyState` as a first step in renaming. Changed other public APIs, except for the factory methods, to use `Property` instead of `PropertyState`.

Also moved factory method to create a `ListProperty<T>` from `ProviderFactory` to `ObjectFactory`.

  1. … 32 more files in changeset.
Activate Javadoc syntax check (Java 8+) and fix warnings and errors

This activates Javadoc's syntax check. Since it is not available with

Java 7, this commit does not yet activate the check on CI, where

the Javadoc is built as part of the distribution with Java 7.

#2553

  1. … 48 more files in changeset.
Add since to newly introduce methods

  1. … 2 more files in changeset.
First-class support for mapping between extension and task properties (#1452)

First-class support for mapping between extension and task properties

  1. … 41 more files in changeset.
Added `@Incubating` and `@since` to various types and methods.

  1. … 15 more files in changeset.