blob: 0c1ddaf9caf1be46666a6c899d31e22d25a7cf36 [file] [log] [blame]
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
android {
namespace "androidx.compose.integration.macrobenchmark.target"
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt")
}
}
}
dependencies {
kotlinPlugin(project(":compose:compiler:compiler"))
implementation(libs.kotlinStdlib)
implementation(project(":activity:activity-compose"))
// old version of common-java8 conflicts with newer version, because both have
// DefaultLifecycleEventObserver.
// Outside of androidx this is resolved via constraint added to lifecycle-common,
// but it doesn't work in androidx.
// See aosp/1804059
implementation projectOrArtifact(":lifecycle:lifecycle-common-java8")
implementation(project(":compose:foundation:foundation-layout"))
implementation(project(":compose:foundation:foundation"))
implementation(project(":compose:material:material"))
implementation(project(":compose:runtime:runtime"))
implementation(project(":compose:runtime:runtime-tracing"))
implementation(project(":compose:ui:ui"))
implementation(project(":compose:ui:ui-tooling"))
}
android.defaultConfig.minSdkVersion 21