mirror of
https://github.com/TeamNewPipe/NewPipe/
synced 2024-12-24 16:11:07 +01:00
Set the whole configDir instead of only configFile for checkstyle
This commit is contained in:
parent
80fb351ad3
commit
985308bf0c
@ -111,7 +111,7 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
configFile rootProject.file('checkstyle.xml')
|
configDir rootProject.file(".")
|
||||||
ignoreFailures false
|
ignoreFailures false
|
||||||
showViolations true
|
showViolations true
|
||||||
toolVersion = checkstyleVersion
|
toolVersion = checkstyleVersion
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
|
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
|
||||||
<module name="SuppressionFilter">
|
<module name="SuppressionFilter">
|
||||||
<property name="file" value="${org.checkstyle.sun.suppressionfilter.config}"
|
<property name="file" value="${config_loc}/checkstyle-suppressions.xml" />
|
||||||
default="checkstyle-suppressions.xml" />
|
|
||||||
<property name="optional" value="true"/>
|
<property name="optional" value="true"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user