Bumped Checkstyle version to 10.12.7

This commit is contained in:
Erik C. Thauvin 2023-12-31 22:51:09 -08:00
parent ebd8a435ef
commit 0b7cfcacdf
Signed by: erik
GPG key ID: 776702A6A2DA330E
3 changed files with 11 additions and 10 deletions

View file

@ -27,13 +27,15 @@ public void checkstyle() throws Exception {
- [View Examples](https://github.com/rife2/bld-checkstyle/blob/master/examples/src/bld/java/com/example/)
Please check the [CheckstyleOperation documentation](https://rife2.github.io/bld-checkstyle/rife/bld/extension/CheckstyleOperation.html#method-summary) for all available configuration options.
Please check the [CheckstyleOperation documentation](https://rife2.github.io/bld-checkstyle/rife/bld/extension/CheckstyleOperation.html#method-summary)
for all available configuration options.
### Checkstyle Dependency
## Checkstyle Dependency
Don't forget to add a Checkstyle `test` dependency to your build file, as it is not provided by the extension. For example:
Don't forget to add a Checkstyle `test` dependency to your build file, as it is
not provided by the extension. For example:
```java
repositories = List.of(MAVEN_CENTRAL);
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 4)));
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 7)));
```

View file

@ -19,7 +19,7 @@ public class ExamplesBuild extends BaseProject {
downloadSources = true;
repositories = List.of(MAVEN_CENTRAL);
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 4)));
scope(test).include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 7)));
testOperation().mainClass("com.example.ExamplesTest");
}

View file

@ -45,11 +45,10 @@ public class CheckstyleOperationBuild extends Project {
scope(compile)
.include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5)));
scope(test)
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 5)))
.include(dependency("org.jsoup", "jsoup", version(1, 16, 2)))
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 7)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 1)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 1)))
.include(dependency("org.assertj", "assertj-core", version(3, 24, 2)));
.include(dependency("org.assertj", "assertj-core", version(3, 25, 0)));
javadocOperation()
.javadocOptions()
.author()