Add a reproducible generator for startup, search, article opening and scrolling, search history, the settings and About screens and their dialogs. Replace the hand-written profile with generated release profiles.
32 lines
825 B
Kotlin
32 lines
825 B
Kotlin
plugins {
|
|
alias(libs.plugins.android.test)
|
|
alias(libs.plugins.baselineprofile)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.example.research.baselineprofile"
|
|
compileSdk = project.property("compileSdk").toString().toInt()
|
|
targetProjectPath = ":app"
|
|
|
|
defaultConfig {
|
|
minSdk = project.property("minSdk").toString().toInt()
|
|
targetSdk = project.property("targetSdk").toString().toInt()
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.test.junit)
|
|
implementation(libs.androidx.uiautomator)
|
|
implementation(libs.androidx.benchmark.macro.junit4)
|
|
}
|