Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Set default values for fields as described in Jacoco docs

Renamed property

  1. … 2 more files in changeset.
Add some unit tests

  1. … 3 more files in changeset.
Expose configuration option for disabling rules

  1. … 1 more file in changeset.
Basic support for enforcing Jacoco metrics

    • -0
    • +69
    ./org/gradle/internal/jacoco/rules/JacocoThresholdImpl.java
    • -0
    • +29
    ./org/gradle/testing/jacoco/tasks/rules/JacocoRuleScope.java
    • -0
    • +56
    ./org/gradle/testing/jacoco/tasks/rules/JacocoThreshold.java
    • -0
    • +21
    ./org/gradle/testing/jacoco/tasks/rules/package-info.java
  1. … 7 more files in changeset.
Use better name for additional Jacoco file task output properties

This way we get `jacocoFiles.destinationFile` instead of `$1.jacoco.destinationFile`.

+review REVIEW-6374

Public runtime APIs for mapped plural task output properties

We’ve supported for some time `@OutputFiles` and `@OutputDirectories` properties with a `Map` type, where each output file or directory was mapped to a string identifier. However, this was only available via internal APIs and wasn’t documented. This commit exposes the runtime API via `TaskOutputs.files()` and the new `TaskOutputs.dirs()` methods.

+review REVIEW-6374

  1. … 15 more files in changeset.
Better tests for Jacoco, fix execution data path sensitivity

Jacoco doesn't actually care about the name of the execution data files.

+review REVIEW-6301

  1. … 4 more files in changeset.
Actually cache Jacoco results

We haven't stored them previously. Now we have an integration test to make sure.

+review REVIEW-6301

  1. … 1 more file in changeset.
Make Jacoco tasks relocatable

+review REVIEW-6301

  1. … 1 more file in changeset.
Revert "Remove duplicated code in JacocoPlugin (#692)"

We finally decided not to include this change since

the code was not duplicated completely and the

change did not improve readability

This reverts the commits

- 79c3c699ab6f17f8e011017f5e6ab19457a26bd8

- 68e9485290cf632aa2e0bb44d92ac72b2529c81b

- b20352f231d50262f3601889c296f149f40ebbf6

+review REVIEW-6202

Enable caching for code quality tasks

This also required reverting the nested approach introduced recently to track output files for enabled reports in reporting tasks. Instead, we are back to iterating the output files and directories and enabled report names in the container.

+review REVIEW-6243

  1. … 21 more files in changeset.
Mark classpaths as `@Classpath`

Instead of annotating with `@InputFiles` and `@OrderSensitive`, we now have only `@Classpath`.

This also enables relative path normalization for every classpath property.

+review REVIEW-6241

    • -4
    • +2
    ./org/gradle/testing/jacoco/tasks/JacocoBase.java
  1. … 32 more files in changeset.
Refactor code for mapping the destination jacoco report dir

+review REVIEW-6202

#692

Revert "Update Jetty version to 6.1.26"

This reverts commit 5033da1b83c4b29592f042283b0cf74dbfc8620d.

It looks like our file locking issues are still present

with Jetty 6.1.26

  1. … 4 more files in changeset.
  1. … 4 more files in changeset.
Fix bug introduced in JacocoPlugin

Looks like the code locations have not been

exactly the same.

+review REVIEW-6202

#692

Remove duplicated code in JacocoPlugin (#692)

Remove @Deprecated from Reporting#reports(Closure)

We do not have a strategy yet what to do with Closure taking methods.

Deprecating doesn't seem to be an option because then you see

deprecation warnings when writing `build.gradle` files.

For Gradle 3.0 we will not deprecate these methods and think

about a strategy for the future which we will implement later

in the 3.x release cycle

+review REVIEW-6142

  1. … 9 more files in changeset.
Mark all classpath task properties order-sensitive

All classpaths should respect file order.

+review REVIEW-6114

    • -0
    • +2
    ./org/gradle/testing/jacoco/tasks/JacocoBase.java
  1. … 26 more files in changeset.
Create get getters for booleans for converted Classes

In Groovy, a public boolean field converted into a private

field and public get getters, is getters and setters. In order to not break any plugins

we now generate these get getters at runtime.

By this we do not break binary compatibility. As soon as the plugin is

recompiled the reference to the getter is not any more in the bytecode.

We plan to remove these mixings for 4.0

+review REVIEW-6102

  1. … 21 more files in changeset.
Create getters for constants for converted Classes

In Groovy, a public static constant is converted into a private

constant and public static getters. In order to not break any plugins

we now generate these getters at runtime. Since we only have String

constants only this is supported.

By this we do not break binary compatibility. As soon as the plugin is

recompiled the reference to the getter is not any more in the bytecode.

We plan to remove these mixings for 4.0

  1. … 8 more files in changeset.
Add `Reporting#reports(Action)` overload

+review REVIEW-6081

  1. … 9 more files in changeset.
Merge branch '2.14.x'

Merge branch '2.14.x'

  1. … 5 more files in changeset.
Make JacocoTaskException configurable again

Fixes [GRADLE-3498]

gradle/build-tool-issues#147

  1. … 2 more files in changeset.
Update Jacoco version to 0.7.7.201606060606

This is required for running Jacoco with Java 9.

For some reason ` ` is inserted between the

coverage and the `%` in the html report on Java 9.

We remove this in the test fixture.

  1. … 4 more files in changeset.
Merge branch 'release'

  1. … 9 more files in changeset.
Fix remaining binary incompatibilities

  1. … 12 more files in changeset.
Merge remote-tracking branch 'origin/release'

* origin/release:

Restored a constructor for an internal type, for backwards compatibility. The constructor is deprecated and will be removed in 3.0.

Restored some methods that previously leaked onto all decorated types. These are now deprecated and will be removed in 3.0.

Restored some behaviour in the `MavenDeployer.repository { ... } DSL that changed in a breaking way when the implementation of this interface was changed from Groovy to Java.

Adds four new build splits for speed.

Add release notes about API changes

Make DSL doc generation happy

Appease checkstyle

Restore binary compatibility with AntGroovydoc

Remove type bounds so we generate the same method signatures again

Add missing methods from Groovy -> Java conversion

Restore old Object only constructors

Remove setProperty from formerly-Groovy tasks

Improve integration with docs.gradle.org wrt CSS styles.

Review items for Manifest API fix

Remove unnecessary FileResolver injection in Ear

Restore lost access levels in codeQuality

Restore lost access levels in Jacoco plugin

Restore lost access level on EclipseClasspath.noExportConfiguration

Mention breaking change to RhinoWorkerHandleFactory

  1. … 23 more files in changeset.