StableRCBetaAlpha
latest alpha version of Jetpack Compose is
1.4.0-alpha05
android {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.0"
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation "androidx.compose.animation:animation:1.4.0-alpha05"
implementation "androidx.compose.foundation:foundation:1.4.0-alpha05"
implementation "androidx.compose.material:material:1.4.0-alpha05"
implementation "androidx.compose.material:material3:1.1.0-alpha05"
implementation "androidx.compose.runtime:runtime:1.4.0-alpha05"
implementation "androidx.compose.ui:ui:1.4.0-alpha05"
// glance
// For AppWidgets support
implementation "androidx.glance:glance-appwidget:1.0.0-alpha05"
// For Wear-Tiles support
implementation "androidx.glance:glance-wear-tiles:1.1.0"
// wear
implementation "androidx.wear.compose:compose-foundation:1.2.0-alpha03"
implementation "androidx.wear.compose:compose-material:1.2.0-alpha03"
implementation "androidx.wear.compose:compose-navigation:1.2.0-alpha03"
// NOTE: DO NOT INCLUDE androidx.compose.material:material
}