Bumped Checkstyle version to 10.12.7
This commit is contained in:
parent
ebd8a435ef
commit
0b7cfcacdf
3 changed files with 11 additions and 10 deletions
14
README.md
14
README.md
|
@ -1,4 +1,4 @@
|
||||||
# [Checkstyle](https://checkstyle.sourceforge.io/) Extension for [b<span style="color:orange">l</span>d](https://rife2.com/bldb)
|
# [Checkstyle](https://checkstyle.sourceforge.io/) Extension for [b<span style="color:orange">l</span>d](https://rife2.com/bldb)
|
||||||
|
|
||||||
[](https://opensource.org/licenses/Apache-2.0)
|
[](https://opensource.org/licenses/Apache-2.0)
|
||||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||||
|
@ -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/)
|
- [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
|
```java
|
||||||
repositories = List.of(MAVEN_CENTRAL);
|
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)));
|
||||||
|
```
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class ExamplesBuild extends BaseProject {
|
||||||
downloadSources = true;
|
downloadSources = true;
|
||||||
repositories = List.of(MAVEN_CENTRAL);
|
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");
|
testOperation().mainClass("com.example.ExamplesTest");
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,11 +45,10 @@ public class CheckstyleOperationBuild extends Project {
|
||||||
scope(compile)
|
scope(compile)
|
||||||
.include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5)));
|
.include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5)));
|
||||||
scope(test)
|
scope(test)
|
||||||
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 5)))
|
.include(dependency("com.puppycrawl.tools", "checkstyle", version(10, 12, 7)))
|
||||||
.include(dependency("org.jsoup", "jsoup", version(1, 16, 2)))
|
|
||||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 1)))
|
.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.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()
|
javadocOperation()
|
||||||
.javadocOptions()
|
.javadocOptions()
|
||||||
.author()
|
.author()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue