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:
parent
4d0b416b41
commit
e09e580214
4 changed files with 4 additions and 5 deletions
|
@ -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'
|
||||||
|
|
|
@ -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"/>
|
Loading…
Reference in a new issue