Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

`CharMatcher.javaUpperCase()`/`CharMatcher.javaIsoControl()`

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

- Update `DistributionIntegrationSpec` because Guava requires 4

additional downstream dependencies:

* org.checkerframework:checker-compat-qual

* com.google.errorprone:error_prone_annotations

* com.google.j2objc:j2objc-annotations

* 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 <13036935+jjustinic@users.noreply.github.com>

  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.

Fixes.

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
    ./findbugs/FindBugsSpecBuilder.java
    • -0
    • +20
    ./findbugs/package-info.java
  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.
Revert "Support PMD's analysis cache (#2223)" and "Improve test coverage for pmd incremental analysis (#2961)" (#3125)

Since there're some issues unreleased in pmd plugin:

https://github.com/pmd/pmd/issues/618

https://github.com/pmd/pmd/issues/608

This reverts commit:

79e74d939dd3c9726624d0fef87c4c6a8e136297

4c51b741042fbccd6b0a03e0a60491197bf49751

d98129f4a34b0fac026a86c0cc1aff19dc541fae

c543f98e1f9228e6460b2f7a08dec01314fa2255

60fa200ec9276c1c95920f554ccfbe4474843c38

bf275854b58f6dfe64e9be72aed4c0b78c1878ab

f7a4bf852eec0e02393fc51e3cf2b0a12b9cb3e1

  1. … 9 more files in changeset.
Move PMD incremental cache into task's temporary directory

  1. … 1 more file in changeset.
Reuse AbstractPmdPluginVersionIntegrationTest for multi-version tests

  1. … 3 more files in changeset.