checkstyle: bump to 6.18

Also, forgot to simplify the checkstyle setup in the extension after we
moved from an ant folder hierarchy to a gradle one. Do that now.
This commit is contained in:
Daniel Martí 2016-05-03 11:36:57 +01:00
parent afea37450b
commit 6e9437b1f4
2 changed files with 3 additions and 4 deletions

View File

@ -36,14 +36,13 @@ android {
} }
checkstyle { checkstyle {
toolVersion = '6.17' toolVersion = '6.18'
} }
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/main/java'
include '**/*.java' include '**/*.java'
exclude '**/gen/**'
classpath = files() classpath = files()
} }

View File

@ -191,7 +191,7 @@ android {
} }
checkstyle { checkstyle {
toolVersion = '6.17' toolVersion = '6.18'
} }
task checkstyle(type: Checkstyle) { task checkstyle(type: Checkstyle) {