Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use 'implementation' dependencies everywhere

  1. … 282 more files in changeset.
Remove ConfigurableReport.setDestination(Object)

Resolves #6298.

  1. … 6 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.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

  1. … 88 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

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

  1. … 9 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.
Support PMD's analysis cache (#2223)

Support PMD's incremental analysis

  1. … 7 more files in changeset.
Support for FindBugs JVM arguments (#781)

Support for FindBugs JVM arguments

  1. … 8 more files in changeset.
Add support for 'console' output type of CodeNarc plugin.

This fix https://github.com/gradle/gradle/issues/1481 . 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.
Reduce visibility of getCandidateClassFiles()

  1. … 1 more file in changeset.
Do not resolve classes dirs as a file tree

This causes us to include resources in a way that causes FindBugs to

produce an annoying error message

  1. … 4 more files in changeset.
Use @InputDirectory for configDir in Checkstyle

+review REVIEW-6526

  1. … 1 more file in changeset.
Rename checkstyleConfigDir to configDir to be consistent with the other properties

+review REVIEW-6526

  1. … 6 more files in changeset.
Add test coverage for configDir property

+review REVIEW-6526

  1. … 1 more file in changeset.
Add overrides of Spock's with() methods for better editor support.

  1. … 3 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

  1. … 119 more files in changeset.
Renders a deprecation warning to the console for ConfigurableReport.setDestination(Object) (#1798)

Use the method ConfigurableReport.setDestination(File) in Gradle's tests to avoid rendering the deprecation message.

  1. … 8 more files in changeset.
Remove our custom provided configuration in favor of compileOnly

- Remove FindBugsExecuterTest since it relies on a FindBugs type and doesn't add much value

- Move static constants from ZincScalaCompilerFactory into ZincScalaCompilerUtil so tests don't rely on Zinc/Scala internals

- Replace uses of 'provided' with 'compileOnly'

- Move FindBugs and Zinc dependencies into gradle/dependencies.gradle

  1. … 9 more files in changeset.
GRADLE-2888 Set default value for Checkstyle maxWarnings to Integer.MAX_VALUE.

  1. … 2 more files in changeset.
GRADLE-2888 Added maxWarnings option to Checkstyle DSL. This option sets the maximum number of warnings that are tolerated before breaking the build or setting the invoked ANT task failure property.

  1. … 7 more files in changeset.
Fixup CheckstylePluginClasspathIntegrationTest for #863

- Fix assertion in Spock Test

- Fix build config

- Fix example code for test

- Miscellaneous cleanup to CheckstylePluginTest

Issue: #855

  1. … 1 more file in changeset.
Fix test to assert new behavior

GRADLE-2888 Renamed new 'maxAllowedViolations' property to 'maxErrors' so as to match the already existing Checkstyle property, and therefore be more intuitive to Checkstyle users.

  1. … 7 more files in changeset.
Added maxAllowedViolations option to Checkstyle DSL. This option sets the maximum number of code violations that are tolerated before breaking the build or setting the invoked ANT task failure property.

  1. … 7 more files in changeset.
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

  1. … 94 more files in changeset.
Merge pull request #649 from adangel/pmd-auxclasspath

Add sourceSet.output to PMD classpath

Stylistic code improvements

  1. … 1 more file in changeset.
Removed some Java 6 specific behaviour that is no longer required.

  1. … 5 more files in changeset.