mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-23 02:55:26 +01:00
- Add JetNews workload description. - Fixup copyright years. - Adjust formatting. - Add constraints to the workload's parameters. - Fix comment typos. - Remove unused commented-out code from app/build.gradle.
51 lines
1.2 KiB
Groovy
51 lines
1.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id "org.jetbrains.kotlin.android" version "2.0.20-Beta1"
|
|
}
|
|
|
|
kotlin {
|
|
// Standardize on the same jvm version for compatibility reasons.
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
def packageName = "com.arm.wa.uiauto.jetnews"
|
|
|
|
android {
|
|
namespace = "com.arm.wa.uiauto.jetnews"
|
|
|
|
compileSdkVersion 34
|
|
defaultConfig {
|
|
applicationId "${packageName}"
|
|
minSdkVersion 23
|
|
targetSdkVersion 28
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.each { output ->
|
|
output.outputFileName = "${packageName}.apk"
|
|
}
|
|
}
|
|
}
|
|
useLibrary 'android.test.base'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.test.uiautomator:uiautomator:2.4.0-alpha01'
|
|
implementation 'androidx.test.janktesthelper:janktesthelper:1.0.1'
|
|
implementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
implementation(name: 'uiauto', ext: 'aar')
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs += ['-Xlint:deprecation']
|
|
}
|