plugins { alias(libs.plugins.android.test) alias(libs.plugins.baselineprofile) } android { namespace = "asia.oneway.onecamera.benchmark" compileSdk = 37 targetProjectPath = ":app" experimentalProperties["android.experimental.self-instrumenting"] = true defaultConfig { minSdk = 31 targetSdk = 37 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments["androidx.benchmark.suppressErrors"] = "EMULATOR" } buildTypes { create("benchmarkRelease") { isDebuggable = false signingConfig = signingConfigs.getByName("debug") matchingFallbacks += listOf("release") } } } dependencies { implementation(libs.androidx.benchmark.macro.junit4) implementation(libs.androidx.junit) implementation(libs.androidx.uiautomator) implementation(libs.junit) }