mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
Make Gradle task testOnJVM only depend on assembleDebug
This commit is contained in:
parent
deb11b2226
commit
86487a738d
@ -105,7 +105,7 @@ task checkstyle(type: Checkstyle) {
|
|||||||
classpath = files()
|
classpath = files()
|
||||||
}
|
}
|
||||||
|
|
||||||
task testsOnJVM(type: GradleBuild, dependsOn: assemble) {
|
task testsOnJVM(type: GradleBuild, dependsOn: assembleDebug) {
|
||||||
buildFile = 'tests-on-jvm/build.gradle'
|
buildFile = 'tests-on-jvm/build.gradle'
|
||||||
tasks = ['test']
|
tasks = ['test']
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
compileClasspath += files(['../build/intermediates/classes/release', '../build/intermediates/classes/debug'])
|
compileClasspath += files(['../build/intermediates/classes/debug'])
|
||||||
runtimeClasspath += files(['../build/intermediates/classes/release', '../build/intermediates/classes/debug'])
|
runtimeClasspath += files(['../build/intermediates/classes/debug'])
|
||||||
java {
|
java {
|
||||||
srcDirs = ['src']
|
srcDirs = ['src']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user