Clone Tools
  • last updated a few seconds ago
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.
Introduce ReportGenerated exceptions

  1. … 9 more files in changeset.
Use umodifiable list in DefaultClassPath

This makes accidental mutation impossible and reduces some

of the repeated wrapping.

  1. … 37 more files in changeset.
Add compilationClasspath property to CodeNarc task (#2325)

Allows to configure classpath used by CodeNarc enhanced rules when compiling analyzed classes.

  1. … 3 more files in changeset.
Improve code style

Add support for 'console' output type of CodeNarc plugin.

This fix . Although it is

documented that CodeNarc plugin supports 'console' output type, that

type is never implemented. This commit add 'console'

TaskGeneratedSingleFile to CodeNarcReportsImpl, and adjust the options

with which Ant codenarc task is called. To redirect Ant output to Gradle

standard output in 'console' type, the lifecycleLogLevel of AntLogAdapter

is changed to INFO.

Then, a unit test and an integration test are provided.

  1. … 4 more files in changeset.
Migrate `CodeNarc` task to Java

The task still uses an internal class written in Groovy to invoke an isolated Ant builder.

+review REVIEW-6081

    • -0
    • +76
  1. … 3 more files in changeset.