aboutsummaryrefslogtreecommitdiff
path: root/gradle
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-30 12:17:15 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-11-30 12:17:15 -0800
commit44f861b487d8f607d750d9f9c6b3e162b3f012b3 (patch)
tree1035718a735a81a1a9f54dbf17378493a652aa58 /gradle
parent71d6d5326c1da8d9e2bc4a25b9db99b595c16cfd (diff)
downloadtrackermap-server-44f861b487d8f607d750d9f9c6b3e162b3f012b3.tar.gz
trackermap-server-44f861b487d8f607d750d9f9c6b3e162b3f012b3.tar.bz2
trackermap-server-44f861b487d8f607d750d9f9c6b3e162b3f012b3.zip
Fix checkstyle checks
Diffstat (limited to 'gradle')
-rw-r--r--gradle/checkstyle.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/gradle/checkstyle.xml b/gradle/checkstyle.xml
index f84df396d..72950c7bd 100644
--- a/gradle/checkstyle.xml
+++ b/gradle/checkstyle.xml
@@ -5,7 +5,10 @@
<module name="Checker">
- <suppress files="[\\/]protobuf[\\/]" checks="[a-zA-Z0-9]*" />
+ <module name="SuppressionSingleFilter">
+ <property name="files" value="[/\\]protobuf[/\\]"/>
+ <property name="checks" value=".*"/>
+ </module>
<!--<property name="fileExtensions" value="java, properties, xml"/>-->
@@ -22,6 +25,9 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="FileLength"/>
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
@@ -66,9 +72,6 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
<module name="MethodLength">
<property name="max" value="200"/>
</module>