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" project.findProperty("profileQuery")?.let { testInstrumentationRunnerArguments["query"] = it.toString() } project.findProperty("profileRefTarget")?.let { testInstrumentationRunnerArguments["refTarget"] = it.toString() } } 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) }