1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-17 21:32:26 -05:00
k-9/tests-on-jvm/build.gradle
2014-12-17 12:47:39 +01:00

34 lines
617 B
Groovy

repositories {
mavenCentral()
}
apply plugin: 'java'
dependencies {
testCompile project(':')
testCompile 'junit:junit:4.12'
}
sourceSets {
main {
java {
srcDirs = []
}
}
test {
compileClasspath += files(rootProject.compileDebugJava.destinationDir)
runtimeClasspath += files(rootProject.compileDebugJava.destinationDir)
runtimeClasspath += rootProject.compileDebugJava.classpath
java {
srcDirs = ['src']
}
}
}
test.dependsOn ':compileDebugJava'
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}