@@ -26,19 +26,24 @@ android {
2626 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
2727 }
2828 }
29+
2930 compileOptions {
3031 sourceCompatibility JavaVersion . VERSION_1_8
3132 targetCompatibility JavaVersion . VERSION_1_8
3233 }
34+
3335 kotlinOptions {
3436 jvmTarget = ' 1.8'
3537 }
38+
3639 buildFeatures {
3740 compose true
3841 }
42+
3943 composeOptions {
4044 kotlinCompilerExtensionVersion ' 1.2.0'
4145 }
46+
4247 packagingOptions {
4348 resources {
4449 excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
@@ -48,16 +53,21 @@ android {
4853
4954dependencies {
5055
51- implementation ' androidx.core:core-ktx:1.7.0'
52- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
53- implementation ' androidx.activity:activity-compose:1.3.1'
54- implementation " androidx.compose.ui:ui:$compose_version "
55- implementation " androidx.compose.ui:ui-tooling-preview:$compose_version "
56- implementation ' androidx.compose.material3:material3:1.0.0-alpha11'
57- testImplementation ' junit:junit:4.13.2'
58- androidTestImplementation ' androidx.test.ext:junit:1.1.5'
59- androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
60- androidTestImplementation " androidx.compose.ui:ui-test-junit4:$compose_version "
61- debugImplementation " androidx.compose.ui:ui-tooling:$compose_version "
62- debugImplementation " androidx.compose.ui:ui-test-manifest:$compose_version "
63- }
56+ // core
57+ implementation ' androidx.core:core-ktx:1.9.0'
58+
59+ // compose ui
60+ implementation " androidx.compose.ui:ui:1.4.0-alpha04"
61+
62+ // compose preview
63+ implementation " androidx.compose.ui:ui-tooling-preview:1.4.0-alpha04"
64+
65+ // compose activity
66+ implementation ' androidx.activity:activity-compose:1.6.1'
67+
68+ // compose material3
69+ implementation ' androidx.compose.material3:material3:1.1.0-alpha04'
70+
71+ // lifecycle
72+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
73+ }
0 commit comments