mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
Add checkstyle to tests-on-jvm project
This commit is contained in:
parent
3f7fc83d58
commit
3760ca95d5
@ -4,6 +4,7 @@ repositories {
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'findbugs'
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
dependencies {
|
||||
testCompile project(':')
|
||||
@ -28,6 +29,11 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
ignoreFailures = true
|
||||
configFile file("$rootProject.projectDir/config/checkstyle/checkstyle.xml")
|
||||
}
|
||||
|
||||
findbugs {
|
||||
ignoreFailures = true
|
||||
effort = 'max'
|
||||
@ -35,10 +41,7 @@ findbugs {
|
||||
excludeFilter = file("$rootProject.projectDir/config/findbugs/exclude_filter.xml")
|
||||
}
|
||||
|
||||
check.dependsOn 'checkstyleTest'
|
||||
check.dependsOn 'findbugsTest'
|
||||
|
||||
test.dependsOn ':compileDebugJava'
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '1.11'
|
||||
}
|
||||
compileTestJava.dependsOn ':compileDebugJava'
|
||||
|
Loading…
Reference in New Issue
Block a user