1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-25 12:27:38 +00:00

Update checkstyle to 10.0 and fix various related issues

- Put checkstyle files into checkstyle/ subfolder so that the gradle task does not implicitly depend on the whole project, fixing many warnings during build and possibly increasing build performance.
- Remove unused SuppressionXpathFilter from config file.
- Remove outdated suppressions from suppressions file.
This commit is contained in:
Stypox
2022-03-18 19:58:59 +01:00
parent e29aaaf162
commit 710964b47d
3 changed files with 3 additions and 18 deletions

View File

@@ -98,7 +98,7 @@ android {
}
ext {
checkstyleVersion = '9.3'
checkstyleVersion = '10.0'
androidxLifecycleVersion = '2.3.1'
androidxRoomVersion = '2.4.2'
@@ -121,7 +121,7 @@ configurations {
}
checkstyle {
getConfigDirectory().set(rootProject.file("."))
getConfigDirectory().set(rootProject.file("checkstyle"))
ignoreFailures false
showViolations true
toolVersion = checkstyleVersion