1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-25 22:02:05 +01:00

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
checkstyle { checkstyle {
configFile = "${project.rootDir}/config/checkstyle.xml" as File toolVersion = '8.18'
toolVersion = '8.10'
} }
group 'org.pgpainless' group 'org.pgpainless'

View file

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