Also add checkstyle to the privileged extension

This commit is contained in:
Daniel Martí 2015-10-08 19:08:08 +02:00
parent 2b0e6dade1
commit 5a8c68b8f8

View File

@ -1,4 +1,9 @@
repositories {
jcenter()
}
apply plugin: 'com.android.application'
apply plugin: 'checkstyle'
dependencies {
compile project(':privileged-api-lib')
@ -29,3 +34,12 @@ android {
}
}
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}