* Move `checkstyle-conventions.gradle` content to the `build.gradle` since it is short enough * Remove `checkstyle-header.txt` and its handling in favor of Spring Javaformat out-of-the box logic * Upgrade to Gradle `8.5` * Remove suppression for `Javadoc*` checks since it is handled by Spring Javaformat * Leave only `MissingJavadocMethodCheck` exclusion from `SpringChecks` since all others really make sense for our code quality
22 lines
1.0 KiB
XML
22 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE module PUBLIC
|
|
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
|
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
|
<module name="com.puppycrawl.tools.checkstyle.Checker">
|
|
<module name="SuppressionFilter">
|
|
<property name="file"
|
|
value="${config_loc}/checkstyle-suppressions.xml" />
|
|
</module>
|
|
<module name="io.spring.javaformat.checkstyle.SpringChecks">
|
|
<property name="excludes" value="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck" />
|
|
</module>
|
|
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
|
|
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
|
|
<property name="maximum" value="0"/>
|
|
<property name="format" value="org\.assertj\.core\.api\.Assertions\.(catchThrowable|catchThrowableOfType|assertThatThrownBy|assertThatCode)" />
|
|
<property name="message" value="Please use assertThatExceptionOfType." />
|
|
<property name="ignoreComments" value="true" />
|
|
</module>
|
|
</module>
|
|
</module>
|