Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add rules - Update documentation links, remove unused property - Change Travis jdk target to jdk8 only
- Loading branch information
1 parent
c814c61
commit 1fb861c
Showing
9 changed files
with
169 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ android: | |
- android-sdk-license-.* | ||
|
||
jdk: | ||
- oraclejdk7 | ||
- oraclejdk8 | ||
|
||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | ||
|
||
<module name="Checker"> | ||
<module name="FileLength"/> | ||
<module name="FileTabCharacter"/> | ||
|
||
<!-- Trailing spaces --> | ||
<module name="RegexpSingleline"> | ||
<property name="format" value="\s+$"/> | ||
<property name="message" value="Line has trailing spaces."/> | ||
</module> | ||
|
||
<!-- Space after 'for' and 'if' --> | ||
<module name="RegexpSingleline"> | ||
<property name="format" value="^\s*(for|if)\b[^ ]"/> | ||
<property name="message" value="Space needed before opening parenthesis."/> | ||
</module> | ||
|
||
<!-- For each spacing --> | ||
<module name="RegexpSingleline"> | ||
<property name="format" value="^\s*for \(.*?([^ ]:|:[^ ])"/> | ||
<property name="message" value="Space needed around ':' character."/> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
|
||
<!-- Checks for Annotation Location --> | ||
<!-- See http://checkstyle.sourceforge.net/config_annotation.html --> | ||
<module name="AnnotationLocation"> | ||
<property name="allowSamelineMultipleAnnotations" value="false"/> | ||
<property name="allowSamelineSingleParameterlessAnnotation" value="false"/> | ||
<property name="allowSamelineParameterizedAnnotation" value="false"/> | ||
</module> | ||
|
||
<!-- Checks for Naming Conventions. --> | ||
<!-- See http://checkstyle.sourceforge.net/config_naming.html --> | ||
<module name="ConstantName"/> | ||
<module name="LocalFinalVariableName"/> | ||
<module name="LocalVariableName"/> | ||
<module name="MemberName"/> | ||
<module name="MethodName"> | ||
<property name="format" value="^[a-z][a-zA-Z0-9_]*$"/> | ||
</module> | ||
<module name="PackageName"/> | ||
<module name="ParameterName"/> | ||
<module name="StaticVariableName"/> | ||
<module name="TypeName"> | ||
<property name="format" value="^[A-Z][a-zA-Z0-9_]*$"/> | ||
</module> | ||
|
||
|
||
<!-- Checks for imports --> | ||
<!-- See http://checkstyle.sourceforge.net/config_imports.html --> | ||
<module name="AvoidStarImport"/> | ||
<module name="IllegalImport"/> | ||
<module name="RedundantImport"/> | ||
<module name="UnusedImports"> | ||
<property name="processJavadoc" value="true"/> | ||
</module> | ||
|
||
|
||
<!-- Checks for Size Violations. --> | ||
<!-- See http://checkstyle.sourceforge.net/config_sizes.html --> | ||
<module name="LineLength"> | ||
<property name="max" value="200"/> | ||
</module> | ||
<module name="ParameterNumber"/> | ||
|
||
|
||
<!-- Checks for whitespace --> | ||
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html --> | ||
<module name="GenericWhitespace"/> | ||
<module name="EmptyForIteratorPad"/> | ||
<module name="MethodParamPad"/> | ||
<module name="NoWhitespaceAfter"/> | ||
<module name="NoWhitespaceBefore"/> | ||
<module name="OperatorWrap"/> | ||
<module name="ParenPad"/> | ||
<module name="TypecastParenPad"/> | ||
<module name="WhitespaceAfter"/> | ||
<module name="WhitespaceAround"/> | ||
|
||
|
||
<!-- Modifier Checks --> | ||
<!-- See http://checkstyle.sourceforge.net/config_modifier.html --> | ||
<module name="RedundantModifier"/> | ||
|
||
|
||
<!-- Checks for blocks. --> | ||
<!-- See http://checkstyle.sourceforge.net/config_blocks.html --> | ||
<module name="AvoidNestedBlocks"/> | ||
<module name="LeftCurly"/> | ||
<module name="NeedBraces"> | ||
<property name="tokens" value="LITERAL_DO, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE"/> | ||
</module> | ||
<module name="RightCurly"/> | ||
|
||
|
||
<!-- Checks for common coding problems --> | ||
<!-- See http://checkstyle.sourceforge.net/config_coding.html --> | ||
<module name="CovariantEquals"/> | ||
<module name="EmptyStatement"/> | ||
<module name="EqualsAvoidNull"/> | ||
<module name="EqualsHashCode"/> | ||
<module name="IllegalInstantiation"/> | ||
<module name="InnerAssignment"/> | ||
<module name="MissingSwitchDefault"/> | ||
<module name="SimplifyBooleanExpression"/> | ||
<module name="SimplifyBooleanReturn"/> | ||
|
||
<!-- Checks for class design --> | ||
<!-- See http://checkstyle.sourceforge.net/config_design.html --> | ||
<module name="InterfaceIsType"/> | ||
|
||
|
||
<!-- Miscellaneous other checks. --> | ||
<!-- See http://checkstyle.sourceforge.net/config_misc.html --> | ||
<module name="ArrayTypeStyle"/> | ||
<module name="TodoComment"/> | ||
<module name="UpperEll"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Mar 15 11:19:20 CET 2016 | ||
#Sun Nov 13 16:29:51 JST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters