Skip to content

Commit

Permalink
Bumped Checkstyle version to 10.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 1, 2024
1 parent 818e40d commit 2e3798d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"java.project.referencedLibraries": [
"${HOME}/.bld/dist/bld-1.9.0.jar",
"lib/**/*.jar"
]
],
"java.compile.nullAnalysis.mode": "automatic"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ not provided by the extension. For example:

```java
repositories = List.of(MAVEN_CENTRAL);
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 14, 2)));
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 15, 0)));
```
10 changes: 5 additions & 5 deletions config/pmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
</properties>
</rule>


<!-- CODE STYLE -->
<rule ref="category/java/codestyle.xml">
<exclude name="AtLeastOneConstructor"/>
<exclude name="ClassNamingConventions"/>
<exclude name="ConfusingTernary"/>
<exclude name="CommentDefaultAccessModifier"/>
<exclude name="ConfusingTernary"/>
<exclude name="FieldNamingConventions"/>
<exclude name="LocalVariableCouldBeFinal"/>
<exclude name="LongVariable"/>
Expand All @@ -34,8 +35,9 @@
<exclude name="ShortClassName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortVariable"/>
<exclude name="UselessParentheses"/>
<exclude name="UseExplicitTypes"/>
<exclude name="UseUnderscoresInNumericLiterals"/>
<exclude name="UselessParentheses"/>
</rule>

<rule ref="category/java/codestyle.xml/UnnecessaryImport">
Expand All @@ -51,8 +53,6 @@
<exclude name="AvoidUncheckedExceptionsInSignatures"/>
<exclude name="CognitiveComplexity"/>
<exclude name="CyclomaticComplexity"/>
<exclude name="ExcessiveClassLength"/>
<exclude name="ExcessiveMethodLength"/>
<exclude name="ExcessiveParameterList"/>
<exclude name="ExcessivePublicCount"/>
<exclude name="GodClass"/>
Expand Down Expand Up @@ -106,4 +106,4 @@
<!-- SECURITY -->
<rule ref="category/java/security.xml">
</rule>
</ruleset>
</ruleset>
2 changes: 1 addition & 1 deletion examples/lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-checkstyle:0.9.5
bld.extensions=com.uwyn.rife2:bld-checkstyle:0.9.6
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.downloadLocation=
bld.sourceDirectories=
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bld/java/com/example/ExamplesBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public ExamplesBuild() {

repositories = List.of(MAVEN_CENTRAL);

scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 14, 2)));
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 15, 0)));

testOperation().mainClass("com.example.ExamplesTest");
}
Expand Down
2 changes: 1 addition & 1 deletion lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.7
bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.8
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.3
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.downloadLocation=
Expand Down
6 changes: 3 additions & 3 deletions src/bld/java/rife/bld/extension/CheckstyleOperationBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class CheckstyleOperationBuild extends Project {
public CheckstyleOperationBuild() {
pkg = "rife.bld.extension";
name = "CheckstyleOperation";
version = version(0, 9, 5);
version = version(0, 9, 6);

javaRelease = 17;
downloadSources = true;
Expand All @@ -45,7 +45,7 @@ public CheckstyleOperationBuild() {
scope(compile)
.include(dependency("com.uwyn.rife2", "bld", version(1, 9, 0)));
scope(test)
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 14, 2)))
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 15, 0)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 2)))
.include(dependency("org.assertj", "assertj-core", version(3, 25, 3)));
Expand Down Expand Up @@ -73,7 +73,7 @@ public CheckstyleOperationBuild() {
.license(
new PublishLicense()
.name("The Apache License, Version 2.0")
.url("http://www.apache.org/licenses/LICENSE-2.0.txt")
.url("https://www.apache.org/licenses/LICENSE-2.0.txt")
)
.scm(
new PublishScm()
Expand Down

0 comments on commit 2e3798d

Please sign in to comment.