Import a class that we will soon be using multiple times
This commit is contained in:
parent
e529c9d96f
commit
d78d68176e
|
@ -6,6 +6,8 @@ sourceSets.test {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import de.undercouch.gradle.tasks.download.Download
|
||||||
|
|
||||||
task cloneDroidBench(type: Exec) {
|
task cloneDroidBench(type: Exec) {
|
||||||
// TODO: download to somewhere private to this build tree; update code that looks in "/tmp" accordingly
|
// TODO: download to somewhere private to this build tree; update code that looks in "/tmp" accordingly
|
||||||
def destDir = file('/tmp/DroidBench')
|
def destDir = file('/tmp/DroidBench')
|
||||||
|
@ -16,7 +18,7 @@ task cloneDroidBench(type: Exec) {
|
||||||
// TODO: should check out a specific tag or hash
|
// 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'
|
src 'https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip'
|
||||||
dest temporaryDir
|
dest temporaryDir
|
||||||
overwrite false
|
overwrite false
|
||||||
|
|
Loading…
Reference in New Issue