Also add checkstyle to the privileged extension
This commit is contained in:
parent
2b0e6dade1
commit
5a8c68b8f8
@ -1,4 +1,9 @@
|
|||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
apply plugin: 'checkstyle'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':privileged-api-lib')
|
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()
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user