1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-25 15:11:52 -05:00
k-9/tests-on-jvm/build.gradle

34 lines
617 B
Groovy
Raw Normal View History

2014-04-29 15:33:20 +09:00
repositories {
2014-09-18 15:18:41 +02:00
mavenCentral()
2014-04-29 15:33:20 +09:00
}
apply plugin: 'java'
dependencies {
2014-12-17 12:47:39 +01:00
testCompile project(':')
testCompile 'junit:junit:4.12'
2014-04-29 15:33:20 +09:00
}
sourceSets {
main {
java {
srcDirs = []
}
}
test {
2014-12-17 12:47:39 +01:00
compileClasspath += files(rootProject.compileDebugJava.destinationDir)
runtimeClasspath += files(rootProject.compileDebugJava.destinationDir)
runtimeClasspath += rootProject.compileDebugJava.classpath
2014-04-29 15:33:20 +09:00
java {
srcDirs = ['src']
}
}
}
2014-12-17 12:47:39 +01:00
test.dependsOn ':compileDebugJava'
2014-04-29 15:33:20 +09:00
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}