@@ -7,6 +7,7 @@ plugins {
7
7
id(" com.android.application" )
8
8
id(" kotlin-android" )
9
9
id(" kotlin-parcelize" )
10
+ id(" com.google.devtools.ksp" )
10
11
id(" kotlin-kapt" )
11
12
id(" androidx.navigation.safeargs.kotlin" )
12
13
id(" com.google.gms.google-services" )
@@ -127,7 +128,6 @@ android {
127
128
}
128
129
kotlinOptions {
129
130
jvmTarget = JavaVersion .VERSION_17 .toString()
130
- // freeCompilerArgs = listOf("-Xallow-result-return-type")
131
131
}
132
132
// https://developer.android.com/topic/libraries/data-binding
133
133
buildFeatures {
@@ -156,14 +156,14 @@ dependencies {
156
156
157
157
// List of KTX extensions
158
158
// https://developer.android.com/kotlin/ktx/extensions-list
159
- implementation(" androidx.core:core-ktx:1.10.0 " )
160
- implementation(" androidx.activity:activity-ktx:1.7.1 " )
159
+ implementation(" androidx.core:core-ktx:1.10.1 " )
160
+ implementation(" androidx.activity:activity-ktx:1.7.2 " )
161
161
implementation(" androidx.fragment:fragment-ktx:1.5.7" )
162
162
163
163
// Lifecycle
164
164
// https://developer.android.com/jetpack/androidx/releases/lifecycle
165
165
implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1" )
166
- implementation(" androidx.lifecycle:lifecycle-livedata-ktx:2.6.1" )
166
+ // implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.1")
167
167
implementation(" androidx.lifecycle:lifecycle-runtime-ktx:2.6.1" )
168
168
implementation(" androidx.lifecycle:lifecycle-common-java8:2.6.1" )
169
169
@@ -174,7 +174,7 @@ dependencies {
174
174
// room
175
175
// https://developer.android.com/topic/libraries/architecture/room
176
176
implementation(" androidx.room:room-runtime:2.5.1" )
177
- kapt (" androidx.room:room-compiler:2.5.1" )
177
+ ksp (" androidx.room:room-compiler:2.5.1" )
178
178
implementation(" androidx.room:room-ktx:2.5.1" )
179
179
180
180
// paging
@@ -189,13 +189,13 @@ dependencies {
189
189
190
190
// coroutines
191
191
// https://github.com/Kotlin/kotlinx.coroutines
192
- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.0 " )
193
- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.0 " )
194
- testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.0 " )
192
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1 " )
193
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 " )
194
+ testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1 " )
195
195
196
196
// moshi
197
- implementation(" com.squareup.moshi:moshi-kotlin:1.14 .0" )
198
- kapt (" com.squareup.moshi:moshi-kotlin-codegen:1.14 .0" )
197
+ implementation(" com.squareup.moshi:moshi-kotlin:1.15 .0" )
198
+ ksp (" com.squareup.moshi:moshi-kotlin-codegen:1.15 .0" )
199
199
200
200
// retrofit
201
201
// https://github.com/square/retrofit
@@ -215,13 +215,12 @@ dependencies {
215
215
// glide
216
216
// https://github.com/bumptech/glide
217
217
implementation(" com.github.bumptech.glide:glide:4.15.1" )
218
- kapt (" com.github.bumptech.glide:compiler :4.15.1" )
218
+ ksp (" com.github.bumptech.glide:ksp :4.15.1" )
219
219
220
220
// dagger hilt
221
- implementation(" com.google.dagger:hilt-android:2.45 " )
222
- kapt(" com.google.dagger:hilt-android-compiler:2.45 " )
221
+ implementation(" com.google.dagger:hilt-android:2.46.1 " )
222
+ kapt(" com.google.dagger:hilt-android-compiler:2.46.1 " )
223
223
implementation(" androidx.hilt:hilt-navigation-fragment:1.0.0" )
224
- // implementation("androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03")
225
224
kapt(" androidx.hilt:hilt-compiler:1.0.0" )
226
225
227
226
// runtime permission
@@ -381,12 +380,12 @@ dependencies {
381
380
// or Material Design 2
382
381
implementation(" androidx.compose.material:material:1.4.3" )
383
382
// Material Design 3
384
- implementation(" androidx.compose.material3:material3:1.1.0-rc01 " )
383
+ implementation(" androidx.compose.material3:material3:1.1.0" )
385
384
// Android Studio Preview support
386
385
implementation(" androidx.compose.ui:ui-tooling-preview:1.4.3" )
387
386
debugImplementation(" androidx.compose.ui:ui-tooling:1.4.3" )
388
387
// UI Tests
389
- androidTestImplementation(" androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 " )
388
+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4:1.4.3 " )
390
389
debugImplementation(" androidx.compose.ui:ui-test-manifest:1.4.3" )
391
390
// Animations
392
391
implementation(" androidx.compose.animation:animation:1.4.3" )
@@ -399,20 +398,22 @@ dependencies {
399
398
// Optional - Add full set of material icons
400
399
implementation(" androidx.compose.material:material-icons-extended:1.4.3" )
401
400
// Optional - Add window size utils
402
- implementation(" androidx.compose.material3:material3-window-size-class:1.0.1 " )
401
+ implementation(" androidx.compose.material3:material3-window-size-class:1.1.0 " )
403
402
// Optional - Integration with activities
404
- implementation(" androidx.activity:activity-compose:1.7.1 " )
403
+ implementation(" androidx.activity:activity-compose:1.7.2 " )
405
404
// Optional - Integration with ViewModels
406
405
implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1" )
407
406
// Optional - Integration with LiveData
408
- implementation(" androidx.compose.runtime:runtime-livedata:1.4.3" )
407
+ // implementation("androidx.compose.runtime:runtime-livedata:1.4.3")
408
+ // Lifecycle utilities for Compose
409
+ implementation(" androidx.lifecycle:lifecycle-runtime-compose:2.6.1" )
409
410
// navigation
410
411
implementation(" androidx.navigation:navigation-compose:2.5.3" )
411
412
implementation(" androidx.hilt:hilt-navigation-compose:1.0.0" )
412
413
// https://github.com/skydoves/landscapist
413
414
// implementation("com.github.skydoves:landscape-bom:2.1.7")
414
- implementation(" com.github.skydoves:landscapist-glide:2.1.13 " )
415
- implementation(" com.github.skydoves:landscapist-placeholder:2.1.13 " )
415
+ implementation(" com.github.skydoves:landscapist-glide:2.2.0 " )
416
+ implementation(" com.github.skydoves:landscapist-placeholder:2.2.0 " )
416
417
// https://google.github.io/accompanist/
417
418
// https://github.com/google/accompanist
418
419
val accompanistVersion = " 0.28.0"
0 commit comments