@@ -4,6 +4,9 @@ plugins {
44 id ' kotlin-kapt'
55 id ' dagger.hilt.android.plugin'
66 id ' com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
7+ id ' com.google.devtools.ksp'
8+ id ' org.jetbrains.kotlin.plugin.serialization'
9+ id ' kotlin-parcelize'
710}
811
912android {
@@ -16,7 +19,7 @@ android {
1619 // noinspection OldTargetApi wait for sources to be released before upgrading
1720 targetSdk 33
1821 versionCode 4
19- versionName " 1.1.1 "
22+ versionName " 1.2.0 "
2023
2124 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2225 vectorDrawables {
@@ -58,6 +61,14 @@ android {
5861 excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
5962 }
6063 }
64+
65+ applicationVariants. all { variant ->
66+ kotlin. sourceSets {
67+ getByName(variant. name) {
68+ kotlin. srcDir(" build/generated/ksp/${ variant.name} /kotlin" )
69+ }
70+ }
71+ }
6172}
6273
6374dependencies {
@@ -68,29 +79,36 @@ dependencies {
6879 implementation ' com.google.maps.android:places-ktx:2.0.0'
6980 implementation " com.google.dagger:hilt-android:2.42"
7081 implementation ' androidx.hilt:hilt-navigation-compose:1.0.0'
71- implementation ' com.google.android.gms:play-services-location:20 .0.0'
82+ implementation ' com.google.android.gms:play-services-location:21 .0.0'
7283 kapt " com.google.dagger:hilt-compiler:2.42"
73- implementation " com.google.android.material:material:1.6.1 "
84+ implementation " com.google.android.material:material:1.7.0 "
7485
7586 // android
76- implementation ' androidx.core:core-ktx:1.8 .0'
87+ implementation ' androidx.core:core-ktx:1.9 .0'
7788 implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
7889 implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
79- implementation ' androidx.activity:activity-compose:1.5.1 '
90+ implementation ' androidx.activity:activity-compose:1.6.0 '
8091 // noinspection GradleDependency
8192 implementation " androidx.compose.ui:ui:1.2.0"
8293 implementation " androidx.compose.ui:ui-tooling-preview:1.2.1"
8394 implementation ' androidx.compose.material:material:1.2.1'
84- implementation " androidx.navigation:navigation-compose:2.5.1 "
85- implementation " androidx.compose.foundation:foundation:1.3.0-alpha03 "
95+ implementation " androidx.navigation:navigation-compose:2.5.2 "
96+ implementation " androidx.compose.foundation:foundation:1.3.0-rc01 "
8697 implementation ' com.google.accompanist:accompanist-permissions:0.24.10-beta'
8798 implementation " com.google.accompanist:accompanist-systemuicontroller:0.17.0"
99+ implementation " com.google.accompanist:accompanist-pager:0.25.1"
100+ implementation " com.google.accompanist:accompanist-pager-indicators:0.25.1"
88101 implementation " androidx.datastore:datastore-preferences:1.0.0"
89102 implementation " androidx.core:core-splashscreen:1.0.0"
90- implementation " androidx.compose.material3:material3-window-size-class:1.0.0-alpha16"
103+ implementation " androidx.compose.material3:material3-window-size-class:1.0.0-rc01"
104+ implementation " androidx.compose.material:material-icons-extended:1.2.1"
91105
92106 // other
93107 implementation ' com.jakewharton.timber:timber:5.0.1'
108+ implementation ' io.github.raamcosta.compose-destinations:core:1.7.22-beta'
109+ ksp ' io.github.raamcosta.compose-destinations:ksp:1.7.16-beta'
110+ implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0"
111+
94112 // noinspection GradleDependency. Issue with R8 on Android 8.0 or lower
95113 implementation ' com.mapcode:mapcode:2.4.14'
96114 implementation " com.squareup.okhttp3:okhttp:4.10.0"
@@ -103,12 +121,13 @@ dependencies {
103121 testImplementation ' junit:junit:4.13.2'
104122 testImplementation ' com.willowtreeapps.assertk:assertk-jvm:0.25'
105123 testImplementation ' org.mockito.kotlin:mockito-kotlin:4.0.0'
106- testImplementation ' org.mockito:mockito-core:4.6.1 '
107- testImplementation ' org.mockito:mockito-inline:4.6.1 '
124+ testImplementation ' org.mockito:mockito-core:4.8.0 '
125+ testImplementation ' org.mockito:mockito-inline:4.7.0 '
108126 testImplementation " androidx.arch.core:core-testing:2.1.0"
109- testImplementation " androidx.test:core-ktx:1.4.0 "
110- testImplementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.3 '
127+ testImplementation " androidx.test:core-ktx:1.5.0-beta01 "
128+ testImplementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4 '
111129
130+ androidTestImplementation " androidx.test:core-ktx:1.5.0-beta01"
112131 androidTestImplementation ' com.willowtreeapps.assertk:assertk-jvm:0.25'
113132 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
114133 androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
0 commit comments