mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
3f03dec7af
Using the `android` command to create a new project has been deprecated in favour of using Android Studio. To avoid this constraint a template project has been added and this is simply duplicated with the relevant files populated when creating a new project.
34 lines
877 B
Groovy
34 lines
877 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 18
|
|
buildToolsVersion '25.0.0'
|
|
defaultConfig {
|
|
applicationId "${package_name}"
|
|
minSdkVersion 18
|
|
targetSdkVersion 25
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.each { output ->
|
|
output.outputFile = file("$$project.buildDir/apk/${package_name}.apk")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
compile 'com.android.support.test:runner:0.5'
|
|
compile 'com.android.support.test:rules:0.5'
|
|
compile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
|
compile(name: 'uiauto', ext: 'aar')
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|