Clone Tools
  • last updated a few seconds 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.
Report invalid JaCoCo configuration

The destination file has to be set if output is set to FILE. This is no

validated and reported with a clear error message instead of crashing

somewhere deep down the call stack.

Fixes #11130

  1. … 1 more file in changeset.
Fix file leak in artifact transform

Fix file leak in artifact transform

Extract Jacoco agent with TransformAction

Moves the extraction of the Jacoco Agent jar, which is included inside

the org.jacoco.agent library fromt he JacocoAgentJar class to a

dedicated TransformAction called AgentJarExtraction.

    • -22
    • +1
    ./gradle/internal/jacoco/JacocoAgentJar.java
    • -2
    • +14
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
Extract Jacoco agent with TransformAction

Moves the extraction of the Jacoco Agent jar, which is included inside

the org.jacoco.agent library fromt he JacocoAgentJar class to a

dedicated TransformAction called AgentJarExtraction.

    • -22
    • +1
    ./gradle/internal/jacoco/JacocoAgentJar.java
    • -2
    • +14
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 1 more file in changeset.
Remove unused field append

This is probably a left over from #10208

Use JaCoCo 0.8.5 by default

Signed-off-by: Evgeny Mandrikov <mandrikov@gmail.com>

    • -1
    • +1
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 4 more files in changeset.
Fix Jacoco tests

De-incubate new Jacoco methods

Fix Jacoco broken by now correct enum deserialization

by removing usages of Project

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

Fix Jacoco broken by now correct enum deserialization

by removing usages of Project

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

    • -2
    • +3
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 1 more file in changeset.
Fix :jacoco with instant-execution

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

    • -1
    • +2
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 1 more file in changeset.
Merge pull request #10208 from gradle/wolfs/deprecations/jacoco

This reverts commit b312db3e00bd27e35b289e4f95368db76601aea2.

    • -18
    • +3
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 4 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.

    • -3
    • +18
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 4 more files in changeset.
Revert "Remove deprecated methods from Jacoco types"

    • -3
    • +18
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 4 more files in changeset.
Remove deprecate methods from Jacoco types

    • -18
    • +3
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 3 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -17
    • +8
    ./gradle/internal/jacoco/AntJacocoCheck.java
    • -20
    • +3
    ./gradle/internal/jacoco/JacocoAgentJar.java
    • -133
    • +43
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
    • -6
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 657 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -1
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 905 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 174 more files in changeset.
Change few private methods to static

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

    • -4
    • +2
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
    • -1
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 162 more files in changeset.
Use method reference, where applicable

    • -4
    • +2
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
    • -1
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 160 more files in changeset.
Organize imports

    • -2
    • +0
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 335 more files in changeset.
Replace anonymous classes with lambdas

    • -16
    • +8
    ./gradle/internal/jacoco/AntJacocoCheck.java
    • -20
    • +3
    ./gradle/internal/jacoco/JacocoAgentJar.java
    • -133
    • +43
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
    • -6
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 702 more files in changeset.
Replace anonymous classes with lambdas

    • -16
    • +8
    ./gradle/internal/jacoco/AntJacocoCheck.java
    • -18
    • +3
    ./gradle/internal/jacoco/JacocoAgentJar.java
    • -131
    • +43
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
    • -6
    • +1
    ./gradle/testing/jacoco/tasks/JacocoReport.java
  1. … 686 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -4
    • +4
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -4
    • +4
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 888 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -4
    • +4
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -4
    • +4
    ./gradle/testing/jacoco/plugins/JacocoPlugin.java
  1. … 900 more files in changeset.