diff --git a/build.gradle b/build.gradle
index 9c482af..f46eecb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -85,7 +85,7 @@ processResources {
}
checkstyle {
- toolVersion '10.14.0'
+ toolVersion '10.18.1'
maxWarnings = 0
}
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index bc47e7e..5e3b2b2 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -21,7 +21,7 @@
-
+
@@ -45,7 +45,8 @@
-
+
@@ -96,7 +97,7 @@
+ COMPACT_CTOR_DEF, LITERAL_SWITCH, LITERAL_CASE"/>
@@ -109,7 +110,7 @@
value="COMMA, SEMI, TYPECAST, LITERAL_IF, LITERAL_ELSE, LITERAL_RETURN,
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, LITERAL_FINALLY, DO_WHILE, ELLIPSIS,
LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_CATCH, LAMBDA,
- LITERAL_YIELD, LITERAL_CASE"/>
+ LITERAL_YIELD, LITERAL_CASE, LITERAL_WHEN"/>
@@ -125,7 +126,8 @@
LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED,
LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN,
NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR,
- SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND"/>
+ SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT,
+ TYPE_EXTENSION_AND, LITERAL_WHEN"/>
@@ -268,6 +270,7 @@
+
@@ -277,8 +280,8 @@
+ value="CTOR_DEF, LITERAL_NEW, METHOD_CALL, METHOD_DEF, CTOR_CALL,
+ SUPER_CTOR_CALL, ENUM_CONSTANT_DEF, RECORD_DEF, RECORD_PATTERN_DEF"/>
+ RECORD_DEF, RECORD_PATTERN_DEF"/>
@@ -348,10 +351,16 @@
-
+
+
+
+
+
+