1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Add checkstyle to tests-on-jvm project

This commit is contained in:
cketti 2014-12-18 11:21:04 +01:00
parent 3f7fc83d58
commit 3760ca95d5

View File

@ -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'