@@ -5,12 +5,12 @@ plugins {
55
66android {
77 namespace ' xyz.teamgravity.composenestednavigation'
8- compileSdk 33
8+ compileSdk 34
99
1010 defaultConfig {
1111 applicationId " xyz.teamgravity.composenestednavigation"
1212 minSdk 26
13- targetSdk 33
13+ targetSdk 34
1414 versionCode 1
1515 versionName " 1.0"
1616
@@ -26,19 +26,24 @@ android {
2626 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
2727 }
2828 }
29+
2930 compileOptions {
30- sourceCompatibility JavaVersion . VERSION_1_8
31- targetCompatibility JavaVersion . VERSION_1_8
31+ sourceCompatibility JavaVersion . VERSION_17
32+ targetCompatibility JavaVersion . VERSION_17
3233 }
34+
3335 kotlinOptions {
34- jvmTarget = ' 1.8 '
36+ jvmTarget = ' 17 '
3537 }
38+
3639 buildFeatures {
3740 compose true
3841 }
42+
3943 composeOptions {
40- kotlinCompilerExtensionVersion ' 1.3 .2'
44+ kotlinCompilerExtensionVersion ' 1.4 .2'
4145 }
46+
4247 packagingOptions {
4348 resources {
4449 excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
@@ -48,20 +53,25 @@ android {
4853
4954dependencies {
5055
51- implementation ' androidx.core:core-ktx:1.8.0'
52- implementation platform(' org.jetbrains.kotlin:kotlin-bom:1.8.0' )
53- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
54- implementation ' androidx.activity:activity-compose:1.5.1'
55- implementation platform(' androidx.compose:compose-bom:2022.10.00' )
56+ // compose
57+ implementation platform(' androidx.compose:compose-bom:2023.06.01' )
5658 implementation ' androidx.compose.ui:ui'
5759 implementation ' androidx.compose.ui:ui-graphics'
5860 implementation ' androidx.compose.ui:ui-tooling-preview'
5961 implementation ' androidx.compose.material3:material3'
60- testImplementation ' junit:junit:4.13.2'
61- androidTestImplementation ' androidx.test.ext:junit:1.1.5'
62- androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
63- androidTestImplementation platform(' androidx.compose:compose-bom:2022.10.00' )
64- androidTestImplementation ' androidx.compose.ui:ui-test-junit4'
65- debugImplementation ' androidx.compose.ui:ui-tooling'
66- debugImplementation ' androidx.compose.ui:ui-test-manifest'
62+
63+ // compose activity
64+ implementation ' androidx.activity:activity-compose:1.7.2'
65+
66+ // compose navigation
67+ implementation " androidx.navigation:navigation-compose:2.6.0"
68+
69+ // compose viewmodel
70+ implementation " androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1"
71+
72+ // compose lifecycle
73+ implementation " androidx.lifecycle:lifecycle-runtime-compose:2.6.1"
74+
75+ // core
76+ implementation ' androidx.core:core-ktx:1.10.1'
6777}
0 commit comments