1
0
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:
cketti 2014-12-17 03:17:08 +01:00
parent deb11b2226
commit 86487a738d
2 changed files with 3 additions and 3 deletions

View File

@ -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']
} }

View File

@ -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']
} }