Bump checkstyle to 8.18

This commit is contained in:
Paul Schaub 2020-01-09 19:04:50 +01:00
parent 4d0b416b41
commit e09e580214
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
4 changed files with 4 additions and 5 deletions

View File

@ -39,8 +39,7 @@ allprojects {
// checkstyle
checkstyle {
configFile = "${project.rootDir}/config/checkstyle.xml" as File
toolVersion = '8.10'
toolVersion = '8.18'
}
group 'org.pgpainless'

View File

@ -6,12 +6,12 @@
<!-- Suppressions -->
<module name="SuppressionFilter">
<property name="file" value="config/suppressions.xml"/>
<property name="file" value="${config_loc}/suppressions.xml"/>
</module>
<!-- License Header -->
<module name="Header">
<property name="headerFile" value="config/checkstyleLicenseHeader.txt"/>
<property name="headerFile" value="${config_loc}/checkstyleLicenseHeader.txt"/>
<property name="ignoreLines" value="2"/>
<property name="fileExtensions" value="java"/>
</module>
@ -117,7 +117,7 @@
<module name="JavadocMethod">
<!-- TODO stricten those checks -->
<property name="scope" value="public"/>
<property name="allowUndeclaredRTE" value="true"/>
<!--<property name="allowUndeclaredRTE" value="true"/>-->
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>