Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Explicitly configure pmd to not use incremental analysis feature

This stops it from writing a lot of instances of the warning

"This analysis could be faster, please consider using Incremental Analysis:"

when running pmd analysis. There is no functional difference in how PMD

operates from this change.


Signed-off-by: Noa Resare <>

Move some internal types back to their original package.

  1. … 75 more files in changeset.
Moved a bunch of dynamic object related types from core to live in modelCore.

  1. … 104 more files in changeset.
Fix spotbugs compatibility (#8076)

* Fix spotbugs plugin compatibility

- add smoke test for spotbugs plugin

* Fix deprecation warning

  1. … 3 more files in changeset.
Fix deprecation 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. … 118 more files in changeset.
Suppress warnings for internal use of deprecated code-quality plugin types

Update Guava to 26.0

- Replace `Files.readLines()` with `Files.asCharSource().readLines()`

- Replace `Files.write()` with `Files.asCharSink().write()`

- Change `Objects.toStringHelper()` to `MoreObjects.toStringHelper()`

- Change `Iterators.emptyIterator()` to `Collections.emptyIterator()`

- Use `MoreExecutors.directExecutor()` with `Futures.addCallback`

- Replace `CharMatcher.JAVA_UPPER_CASE`/`JAVA_ISO_CONTROL` with


- Replace `new SimpleTimeLimiter()` with `SimpleTimeLimiter.create()`

- Update `DistributionIntegrationSpec` because Guava requires 4

additional downstream dependencies:

* org.checkerframework:checker-compat-qual



* org.codehaus.mojo:animal-sniffer-annotations

  1. … 25 more files in changeset.
Use named(String, Action) in gradle/gradle

  1. … 10 more files in changeset.
Upgrade default tool version of PMD to 6.7.0

The default ruleset has been changed from the now deprecated

`java-basic` to `category/java/errorprone.xml`.

Resolves #6625.

  1. … 9 more files in changeset.
Return CustomizableHtmlReport for Checkstyle and FindBugs HTML report

Signed-off-by: James Justinic <>

  1. … 2 more files in changeset.
Deprecation progress events are enriched to allow better visualisation (#6034)

Update deprecation model; tweak deprecation messages

* some renamings in feature usage

* introduce feature usage type

* introduce contextual advice for deprecation messages

  1. … 28 more files in changeset.
Expose deprecation warning messages and stacktraces via build operations (#5881)

Expose deprecation warnings as operation progress events

- introduce split of message, warning and advice

- make deprecation progress events immutable

- rework deprecation handling/messages to support more a richer model

- update build operation progress model

- tweak existing deprecation warnings to match new model

- Add performance test + make stacktrace calculation for build ops lazy

- Always include a trace with FeatureUsage now that its always required

  1. … 65 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.
Revert "Fixes."

This reverts commit 480434d3d2c4d53177abcc5dfe48172e6162a538.


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.
Use register() over createLater() in all built-in plugins

  1. … 9 more files in changeset.
Rename TaskContainer.get(Class, String) to TaskCollection.named(String)

  1. … 11 more files in changeset.
Introduce configureEach to replace configureEachLater

  1. … 17 more files in changeset.
Rename getByNameLater() to get()

  1. … 8 more files in changeset.
Lazily create and configure code quality tasks

  1. … 5 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.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

  1. … 28 more files in changeset.
Fix PMD 6.0.1 deprecation warnings

  1. … 3 more files in changeset.
Support PMD incremental analysis

  1. … 9 more files in changeset.
Always report Checkstyle violations-summary from xml report (#3901)

Report Checkstyle violations from xml report, regardless of build pass/fail.

Prior to this, Checkstyle plugin would be silent unless the build failed or

ignoreFailures=true. If thresholds maxErrors and maxWarnings were not met,

reported rule violations in the XML or HTML reports were not mentioned in

build output.

With this change, if Checkstyle is configured to produce an XML report (default),

the report is parsed and violations summarised in the Checkstyle task build output.

This occurs regardless of whether the build failed or not.

Fixed #881

  1. … 1 more file in changeset.
Add `@Nullable` annotations to code-quality (#4518)

    • -15
    • +16
    • -0
    • +20
  1. … 13 more files in changeset.
Findbugs should use mapped nested inputs

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

where applicable.

  1. … 46 more files in changeset.