mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-17 21:32:26 -05:00
13 lines
384 B
Groovy
13 lines
384 B
Groovy
|
apply plugin: 'checkstyle'
|
||
|
|
||
|
check.dependsOn 'checkstyle'
|
||
|
task checkstyle(type: Checkstyle) {
|
||
|
ignoreFailures = true
|
||
|
configFile file("$rootProject.projectDir/config/checkstyle/checkstyle.xml")
|
||
|
|
||
|
source = project.android.sourceSets.main.java.getSrcDirs() +
|
||
|
project.android.sourceSets.androidTest.java.getSrcDirs()
|
||
|
include '**/*.java'
|
||
|
classpath = files()
|
||
|
}
|