Import a class that we will soon be using multiple times

This commit is contained in:
Ben Liblit 2018-02-08 10:44:07 -06:00
parent e529c9d96f
commit d78d68176e
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ sourceSets.test {
]
}
import de.undercouch.gradle.tasks.download.Download
task cloneDroidBench(type: Exec) {
// TODO: download to somewhere private to this build tree; update code that looks in "/tmp" accordingly
def destDir = file('/tmp/DroidBench')
@ -16,7 +18,7 @@ task cloneDroidBench(type: Exec) {
// TODO: should check out a specific tag or hash
}
task downloadAndroidSdk(type: de.undercouch.gradle.tasks.download.Download) {
task downloadAndroidSdk(type: Download) {
src 'https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip'
dest temporaryDir
overwrite false