checkstyle.xml

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Disallow jdk.internal imports

Move MissingOverride checkstyle check from api to the whole codebase

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

  1. … 1 more file in changeset.
Use Checkstyle 8.12

- EqualsHashCode is now stricter and emits warnings for classes that

implement `hashCode()` but not `equals(Object)`.

- NoWhitespaceBefore now also checks for space before varargs ellipses.

  1. … 10 more files in changeset.
Fix checkstyle rule

There was a duplicate MethodTypeParameterName rule in checkstyle config, leading

to the wrong rule being used (the one that prevents MULTILETTER type variables).

Fix checkstyle rule

There was a duplicate MethodTypeParameterName rule in checkstyle config, leading

to the wrong rule being used (the one that prevents MULTILETTER type variables).

Remove `OperatorWrap` checkstyle rule

This rule is deeply annoying, as it forces the operators on newlines. Code generation typically

uses the opposite pattern, making it extremely simple to break the rule. Since it doesn't really

matter, disable the rule and let us work.

Disable `InterfaceIsType` checkstyle module

Use config_loc in our configuration files

+review REVIEW-6526

  1. … 3 more files in changeset.
Add checkstyle rule to disallow using non-Guava Lists or Maps

  1. … 2 more files in changeset.
Updated checkstyle rules to allow type parameter names that are longer than one character.

Rename $ method to avoid need of checkstyle config change.

+review REVIEW-5177

  1. … 4 more files in changeset.
Add a public API for the $() methods implicitly available in DSL rules.

+review REVIEW-5177

  1. … 5 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1213 more files in changeset.
checkstyle: allow class member names to start with _ (as a way to "hide" them from groovy metaprogramming)

  1. … 1 more file in changeset.
Check for 'created by intellij' in groovy files, as we do for java files.

  1. … 3 more files in changeset.
Added checkstyle rule that looks for default intellij comments

  1. … 1 more file in changeset.
Enabled suppressing checkstyle using code comments

  1. … 2 more files in changeset.
[ToolingAPI for IDEA] Modelled the IdeaLanguageLevel. I tried to have some of the benefits of enums without actually using enums. Improved the model adapter to handle boolean return values (actually all primitive return values). Updated checkstyle rules for method name to something more reasonable (e.g. supporting underscore in the method name if we want it).

  1. … 8 more files in changeset.
Switched off redundant throws rule, as it's broken.

Switched on checkstyle rules for whitespace, and reformatted some code

  1. … 51 more files in changeset.
Switched on checkstyle rules for brace placement, and reformatted some code

  1. … 156 more files in changeset.
Switched on some more checkstyle rules.

  1. … 16 more files in changeset.
- Added chapter to the user guide listing all the tasks provided in the distribution. - Added package-info.java files for all API packages. - Moved a bunch of internal classes out of API packages. - Added a checkstyle check that all API packages must have a package-info.java. - Merged AbstractJettyRunWarTask into JettyRunWar.

  1. … 81 more files in changeset.
- Switched on some more checkstyle and codenarc checks.

  1. … 89 more files in changeset.
- Switched on naming convention checks for codenarc. - Switched on NeedBraces check for checkstyle.

  1. … 296 more files in changeset.
Tightened up checkstyle rules: - Check header of groovy files - Check naming convention is followed in java files

  1. … 143 more files in changeset.
- Changed developerBuild, uploadDists to depend on dists, check, test, integTest - Changed install to no depend on tests - Changed explodedDistBase to generate a minimal dist (no samples, source or docs) - Use checkstyle properties in checkstyle.xml

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1766 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 1 more file in changeset.
Add additional checks for checkstyle. Filter checkstyle.xml to deal with relative paths.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1741 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 4 more files in changeset.