blob: 59af7579404929e967f9845c890f10a0129f6474 [file] [log] [blame]
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
android {
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:ui:ui"))
implementation(project(":compose:ui:ui-tooling"))
}
android.defaultConfig.minSdkVersion 21