Get a Dalvik test to work by putting "dx.jar" where expected

This commit is contained in:
Ben Liblit 2018-01-22 17:51:40 -06:00
parent 9df594189d
commit 2233d56d2a
1 changed files with 9 additions and 0 deletions

View File

@ -42,8 +42,17 @@ task verifyAndroidJar(type: VerifyWithStamp, dependsOn: downloadAndroidJar) {
checksum '88be04f4d84d58fadee2e780a322fdb9'
}
task copyDxJar(type: Sync) {
from configurations.testCompile.files {
include '**/dx-1.7.jar'
rename 'dx-1.7.jar', 'dx.jar'
}
into 'lib'
}
processTestResources {
dependsOn cloneDroidBench
dependsOn copyDxJar
dependsOn verifyAndroidJar
from downloadAndroidJar