1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-11 03:55:04 -05:00
k-9/tests-on-jvm/build.gradle
2014-12-18 12:00:49 +01:00

35 lines
684 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)
compileClasspath += rootProject.compileDebugJava.classpath
runtimeClasspath += files(rootProject.compileDebugJava.destinationDir)
runtimeClasspath += rootProject.compileDebugJava.classpath
java {
srcDirs = ['src']
}
}
}
test.dependsOn ':compileDebugJava'
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}