Skip to content

Commit 390e29f

Browse files
committed
Issue #133: upgrade to checkstyle 8.5
1 parent fc41f13 commit 390e29f

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This plugin provides coding rules from [Checkstyle](http://checkstyle.sourceforg
1414

1515
Checkstyle Plugin|Sonar|Checkstyle|Jdk
1616
-----------------|-----|----------|---
17+
4.5|5.6.6|8.5|1.8
1718
4.4|5.6.6|8.4|1.8
1819
4.3|5.6.6|8.3|1.8
1920
4.2|5.6.6|8.2|1.8

checkstyle-sonar-plugin/config/checkstyle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ checkstyle.suppressions.file=checkstyle-sonar-plugin/config/suppressions.xml
22
checkstyle.header.file=checkstyle-sonar-plugin/config/java.header
33
checkstyle.regexp.header.file=checkstyle-sonar-plugin/config/java_regexp.header
44
checkstyle.importcontrol.file=checkstyle-sonar-plugin/config/import-control.xml
5+
checkstyle.importcontroltest.file=checkstyle-sonar-plugin/config/import-control-test.xml
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE import-control PUBLIC
3+
"-//Puppy Crawl//DTD Import Control 1.3//EN"
4+
"http://checkstyle.sourceforge.net/dtds/import_control_1_3.dtd">
5+
6+
<import-control pkg="org.sonar.plugins.checkstyle">
7+
8+
<allow pkg=".*" regex="true" />
9+
10+
<disallow pkg="junit.framework" />
11+
12+
</import-control>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</ciManagement>
8686

8787
<properties>
88-
<checkstyle.version>8.4</checkstyle.version>
88+
<checkstyle.version>8.5</checkstyle.version>
8989
<sonar.version>5.6.6</sonar.version>
9090
<sonar-java.version>3.7</sonar-java.version>
9191
<java.version>1.8</java.version>

0 commit comments

Comments
 (0)