1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00
k-9/tests-on-jvm/build.gradle

40 lines
1.0 KiB
Groovy
Raw Normal View History

2014-04-29 02:33:20 -04:00
repositories {
2014-09-18 09:18:41 -04:00
mavenCentral()
2014-04-29 02:33:20 -04:00
}
apply plugin: 'java'
2014-12-18 01:51:34 -05:00
apply plugin: 'findbugs'
2014-12-18 05:21:04 -05:00
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
2014-04-29 02:33:20 -04:00
dependencies {
testCompile project(':k9mail')
2014-12-17 06:47:39 -05:00
testCompile 'junit:junit:4.12'
2014-04-29 02:33:20 -04:00
}
sourceSets {
test {
compileClasspath += files(project(':k9mail').compileDebugJava.destinationDir)
compileClasspath += project(':k9mail').compileDebugJava.classpath
runtimeClasspath += files(project(':k9mail').compileDebugJava.destinationDir)
runtimeClasspath += project(':k9mail').compileDebugJava.classpath
2014-04-29 02:33:20 -04:00
}
}
2014-12-18 05:21:04 -05:00
checkstyle {
ignoreFailures = true
configFile file("$rootProject.projectDir/config/checkstyle/checkstyle.xml")
}
2014-12-18 01:51:34 -05:00
findbugs {
ignoreFailures = true
effort = 'max'
includeFilter = file("$rootProject.projectDir/config/findbugs/include_filter.xml")
excludeFilter = file("$rootProject.projectDir/config/findbugs/exclude_filter.xml")
}
2014-12-18 05:21:04 -05:00
check.dependsOn 'checkstyleTest'
2014-12-18 01:51:34 -05:00
check.dependsOn 'findbugsTest'
compileTestJava.dependsOn ':k9mail:compileDebugJava'