Bump checkstyle to 6.12.1
Makes the existing checks a lot better (we were on 5.x) and allows us to add checks that require newer versions.
This commit is contained in:
parent
b6654f5077
commit
4f34013885
@ -182,6 +182,10 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkstyle {
|
||||||
|
toolVersion = '6.12.1'
|
||||||
|
}
|
||||||
|
|
||||||
task checkstyle(type: Checkstyle) {
|
task checkstyle(type: Checkstyle) {
|
||||||
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
|
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
|
||||||
source 'src', 'test/src'
|
source 'src', 'test/src'
|
||||||
|
@ -35,6 +35,10 @@ android {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkstyle {
|
||||||
|
toolVersion = '6.12.1'
|
||||||
|
}
|
||||||
|
|
||||||
task checkstyle(type: Checkstyle) {
|
task checkstyle(type: Checkstyle) {
|
||||||
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
|
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
|
||||||
source 'src'
|
source 'src'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user