38 lines
1.1 KiB
Kotlin
38 lines
1.1 KiB
Kotlin
plugins {
|
|
id("com.android.test")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.rosetta.messenger.benchmark"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
minSdk = 28
|
|
targetSdk = 34
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
testInstrumentationRunnerArguments["androidx.benchmark.enabledRules"] = "Macrobenchmark"
|
|
testInstrumentationRunnerArguments["androidx.benchmark.suppressErrors"] = "EMULATOR,DEBUGGABLE"
|
|
testInstrumentationRunnerArguments["androidx.benchmark.compilation.enabled"] = "false"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
targetProjectPath = ":app"
|
|
experimentalProperties["android.experimental.self-instrumenting"] = true
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.benchmark:benchmark-macro-junit4:1.4.1")
|
|
implementation("androidx.test.ext:junit:1.1.5")
|
|
implementation("androidx.test:runner:1.5.2")
|
|
implementation("androidx.test.uiautomator:uiautomator:2.2.0")
|
|
}
|