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-04-29 02:33:20 -04:00
|
|
|
|
|
|
|
dependencies {
|
2014-12-17 06:47:39 -05:00
|
|
|
testCompile project(':')
|
|
|
|
testCompile 'junit:junit:4.12'
|
2014-04-29 02:33:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDirs = []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2014-12-17 06:47:39 -05:00
|
|
|
compileClasspath += files(rootProject.compileDebugJava.destinationDir)
|
2014-12-18 05:56:02 -05:00
|
|
|
compileClasspath += rootProject.compileDebugJava.classpath
|
2014-12-17 06:47:39 -05:00
|
|
|
runtimeClasspath += files(rootProject.compileDebugJava.destinationDir)
|
|
|
|
runtimeClasspath += rootProject.compileDebugJava.classpath
|
2014-04-29 02:33:20 -04:00
|
|
|
java {
|
|
|
|
srcDirs = ['src']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
|
|
|
|
check.dependsOn 'findbugsTest'
|
|
|
|
|
2014-12-17 06:47:39 -05:00
|
|
|
test.dependsOn ':compileDebugJava'
|
|
|
|
|
2014-04-29 02:33:20 -04:00
|
|
|
task wrapper(type: Wrapper) {
|
|
|
|
gradleVersion = '1.11'
|
|
|
|
}
|