Files
Flexera-Launcher/baseline-profile/build.gradle
T
2026-01-16 18:18:23 +07:00

51 lines
1.3 KiB
Groovy

plugins {
alias(libs.plugins.android.test)
alias(libs.plugins.androidx.baselineprofile)
}
android {
namespace 'app.lawnchair.baseline'
defaultConfig {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
targetProjectPath = ":"
flavorDimensions += ["app", "recents", "channel"]
productFlavors {
lawn { dimension = "app" }
withQuickstep { dimension = "recents" }
github { dimension = "channel" }
nightly { dimension = "channel" }
play { dimension = "channel" }
}
testOptions.managedDevices.localDevices {
create("pixel7Api36") {
device = "Pixel 7"
apiLevel = 36
systemImageSource = "google"
}
create("pixel6Api33") {
device = "Pixel 6"
apiLevel = 33
systemImageSource = "google"
}
}
}
// This is the configuration block for the Baseline Profile plugin.
// You can specify to run the generators on a managed devices or connected devices.
baselineProfile {
managedDevices += ["pixel6Api33", "pixel7Api36"]
useConnectedDevices = false
}
dependencies {
implementation libs.androidx.junit
implementation libs.androidx.espresso.core
implementation libs.androidx.uiautomator
implementation libs.androidx.benchmark.macro.junit4
}