mirror of
https://github.com/TeamNewPipe/NewPipe/
synced 2024-12-23 23:53:52 +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 {
|
||||
configFile rootProject.file('checkstyle.xml')
|
||||
configDir rootProject.file(".")
|
||||
ignoreFailures false
|
||||
showViolations true
|
||||
toolVersion = checkstyleVersion
|
||||
|
@ -22,8 +22,7 @@
|
||||
|
||||
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
|
||||
<module name="SuppressionFilter">
|
||||
<property name="file" value="${org.checkstyle.sun.suppressionfilter.config}"
|
||||
default="checkstyle-suppressions.xml" />
|
||||
<property name="file" value="${config_loc}/checkstyle-suppressions.xml" />
|
||||
<property name="optional" value="true"/>
|
||||
</module>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user