OSDN Git Service

chore: bump checktsyle@8.41.1
authorHiroshi Miura <miurahr@linux.com>
Sun, 8 Oct 2023 11:02:18 +0000 (20:02 +0900)
committerHiroshi Miura <miurahr@linux.com>
Sun, 8 Oct 2023 11:02:18 +0000 (20:02 +0900)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
config/checkstyle/checkstyle.xml
gradle/libs.versions.toml

index f115844..f79dc91 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE module PUBLIC
-          "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
-          "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
+          "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
+          "https://checkstyle.org/dtds/configuration_1_3.dtd">
 
 <!--
 
     <property name="severity" value="warning"/>
 
     <property name="fileExtensions" value="java, properties, xml"/>
+    <!-- Excludes all 'module-info.java' files              -->
+    <!-- See https://checkstyle.org/config_filefilters.html -->
+    <module name="BeforeExecutionExclusionFileFilter">
+        <property name="fileNamePattern" value="module\-info\.java$"/>
+    </module>
 
     <!-- Checks whether files end with a new line.                        -->
     <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
     <!-- </module> -->
 
     <module name="SuppressWarningsFilter" />
+
+    <!-- Checks for Size Violations.                    -->
+    <!-- See http://checkstyle.sf.net/config_sizes.html -->
+    <module name="LineLength">
+        <property name="max" value="135"/>
+    </module>
+
     <module name="TreeWalker">
 
         <module name="SuppressWarningsHolder" />
             <property name="processJavadoc" value="false"/>
         </module>
 
-        <!-- Checks for Size Violations.                    -->
-        <!-- See http://checkstyle.sf.net/config_sizes.html -->
-        <module name="LineLength">
-            <property name="max" value="135"/>
-        </module>
 
         <module name="MethodLength"/>
         <module name="ParameterNumber"/>
index e058d28..262c194 100644 (file)
@@ -21,7 +21,7 @@ dictzip = "0.13.0"
 jacoco = "0.8.6"
 javacc = "7.0.10"
 testng = "7.7.0"
-checkstyle = "6.16.1"
+checkstyle = "8.41.1"
 
 [libraries]
 slf4j-api = {group = "org.slf4j", name = "slf4j-api",  version.ref = "slf4j"}