blob: 796914e830f8e2a8dc67d0460e737e64395b6e2b [file] [log] [blame]
plugins {
id("AndroidXPlugin")
id("com.android.test")
id("org.jetbrains.kotlin.android")
}
android {
testOptions {
animationsDisabled = false
}
namespace = "androidx.compose.material3.integration.macrobenchmark"
targetProjectPath = ":compose:material3:integration-tests:macrobenchmark-target"
experimentalProperties["android.experimental.self-instrumenting"] = true
}
// Create a release build type and make sure it's the only one enabled.
// This is needed because we benchmark the release build type only.
android.buildTypes { release {} }
androidComponents { beforeVariants(selector().all()) { enabled = buildType == 'release' } }
dependencies {
implementation(project(":benchmark:benchmark-junit4"))
implementation(project(":benchmark:benchmark-macro-junit4"))
implementation(project(":internal-testutils-benchmark-macro"))
implementation(libs.testRules)
implementation(libs.testExtJunit)
implementation(libs.testCore)
implementation(libs.testRunner)
implementation(libs.testUiautomator)
}