11import java.io.FileInputStream
22import java.text.SimpleDateFormat
33import java.util.*
4+ import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
45
56plugins {
67 id(" com.android.application" )
78 id(" kotlin-android" )
89 id(" kotlin-parcelize" )
910 id(" kotlin-kapt" )
1011 id(" androidx.navigation.safeargs.kotlin" )
11- id(" com.google.firebase.crashlytics" )
1212 id(" com.google.gms.google-services" )
13+ id(" com.google.firebase.crashlytics" )
1314 id(" dagger.hilt.android.plugin" )
1415 jacoco
1516}
@@ -62,7 +63,7 @@ android {
6263 isDebuggable = true
6364 isMinifyEnabled = false
6465 isShrinkResources = false
65- firebaseCrashlytics {
66+ configure< CrashlyticsExtension > {
6667 mappingFileUploadEnabled = false
6768 }
6869 signingConfig = signingConfigs.getByName(" debug-key" )
@@ -71,7 +72,7 @@ android {
7172 isDebuggable = true
7273 isMinifyEnabled = true
7374 isShrinkResources = true
74- firebaseCrashlytics {
75+ configure< CrashlyticsExtension > {
7576 mappingFileUploadEnabled = true
7677 }
7778 proguardFiles(getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro" )
@@ -81,7 +82,7 @@ android {
8182 isDebuggable = false
8283 isMinifyEnabled = true
8384 isShrinkResources = true
84- firebaseCrashlytics {
85+ configure< CrashlyticsExtension > {
8586 mappingFileUploadEnabled = true
8687 }
8788 proguardFiles(getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro" )
@@ -134,19 +135,19 @@ android {
134135
135136dependencies {
136137 // common
137- implementation(" androidx.appcompat:appcompat:1.2 .0" )
138+ implementation(" androidx.appcompat:appcompat:1.3 .0" )
138139 implementation(" androidx.legacy:legacy-support-v4:1.0.0" )
139140 implementation(" androidx.constraintlayout:constraintlayout:2.1.0-beta02" )
140- implementation(" androidx.recyclerview:recyclerview:1.2.0 " )
141- implementation(" com.google.android.material:material:1.3 .0" )
142- implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31 " )
141+ implementation(" androidx.recyclerview:recyclerview:1.2.1 " )
142+ implementation(" com.google.android.material:material:1.4 .0" )
143+ implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.10 " )
143144 implementation(" androidx.multidex:multidex:2.0.1" )
144145
145146 // List of KTX extensions
146147 // https://developer.android.com/kotlin/ktx/extensions-list
147- implementation(" androidx.core:core-ktx:1.6 .0-alpha02 " )
148- implementation(" androidx.activity:activity-ktx:1.3.0-alpha07 " )
149- implementation(" androidx.fragment:fragment-ktx:1.3.3 " )
148+ implementation(" androidx.core:core-ktx:1.7 .0-alpha01 " )
149+ implementation(" androidx.activity:activity-ktx:1.3.0-rc02 " )
150+ implementation(" androidx.fragment:fragment-ktx:1.3.5 " )
150151
151152 // Lifecycle
152153 // https://developer.android.com/jetpack/androidx/releases/lifecycle
@@ -157,7 +158,7 @@ dependencies {
157158
158159 // Preferences DataStore
159160 // https://android-developers.googleblog.com/2020/09/prefer-storing-data-with-jetpack.html
160- implementation(" androidx.datastore:datastore-preferences:1.0.0-beta01 " )
161+ implementation(" androidx.datastore:datastore-preferences:1.0.0-rc01 " )
161162
162163 // room
163164 // https://developer.android.com/topic/libraries/architecture/room
@@ -167,7 +168,7 @@ dependencies {
167168
168169 // paging
169170 // https://developer.android.com/topic/libraries/architecture/paging
170- implementation(" androidx.paging:paging-runtime-ktx:3.0 .0-rc01 " )
171+ implementation(" androidx.paging:paging-runtime-ktx:3.1 .0-alpha02 " )
171172
172173 // navigation
173174 // https://developer.android.com/jetpack/androidx/releases/navigation
@@ -177,13 +178,13 @@ dependencies {
177178
178179 // coroutines
179180 // https://github.com/Kotlin/kotlinx.coroutines
180- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3 " )
181- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3 " )
181+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 " )
182+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 " )
182183 testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9" )
183184
184185 // moshi
185- implementation(" com.squareup.moshi:moshi-kotlin:1.11 .0" )
186- kapt(" com.squareup.moshi:moshi-kotlin-codegen:1.11 .0" )
186+ implementation(" com.squareup.moshi:moshi-kotlin:1.12 .0" )
187+ kapt(" com.squareup.moshi:moshi-kotlin-codegen:1.12 .0" )
187188
188189 // retrofit
189190 // https://github.com/square/retrofit
@@ -193,28 +194,28 @@ dependencies {
193194
194195 // stetho
195196 // http://facebook.github.io/stetho/
196- // implementation("com.facebook.stetho:stetho:1.5.1")
197- // implementation("com.facebook.stetho:stetho-okhttp3:1.5.1")
197+ implementation(" com.facebook.stetho:stetho:1.5.1" )
198+ implementation(" com.facebook.stetho:stetho-okhttp3:1.5.1" )
198199
199200 // glide
200201 // https://github.com/bumptech/glide
201- implementation(" com.github.bumptech.glide:glide:4.11 .0" )
202- kapt(" com.github.bumptech.glide:compiler:4.11 .0" )
202+ implementation(" com.github.bumptech.glide:glide:4.12 .0" )
203+ kapt(" com.github.bumptech.glide:compiler:4.12 .0" )
203204
204205 // dagger hilt
205206 implementation(" com.google.dagger:hilt-android:2.35" )
206207 kapt(" com.google.dagger:hilt-android-compiler:2.35.1" )
207208 implementation(" androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03" )
208- kapt(" androidx.hilt:hilt-compiler:1.0.0-beta01 " )
209+ kapt(" androidx.hilt:hilt-compiler:1.0.0" )
209210
210211 // runtime permission
211212 // https://github.com/googlesamples/easypermissions
212213 implementation(" pub.devrel:easypermissions:3.0.0" )
213214
214215 // firebase
215216 // https://firebase.google.com/docs/android/setup
216- implementation(" com.google.firebase:firebase-analytics:18 .0.3 " )
217- implementation(" com.google.firebase:firebase-crashlytics:17.4.1 " )
217+ implementation(" com.google.firebase:firebase-analytics:19 .0.0 " )
218+ implementation(" com.google.firebase:firebase-crashlytics:18.1.0 " )
218219
219220 // lottie
220221 // https://github.com/airbnb/lottie-android
@@ -229,12 +230,12 @@ dependencies {
229230
230231 // unit test
231232 testImplementation(" junit:junit:4.13.2" )
232- testImplementation(" org.mockito:mockito-core:3.6.0 " )
233+ testImplementation(" org.mockito:mockito-core:3.11.1 " )
233234// testImplementation("org.mockito:mockito-inline:3.3.3")
234235 testImplementation(" io.mockk:mockk:1.10.2" )
235236 testImplementation(" androidx.arch.core:core-testing:2.1.0" )
236- testImplementation(" com.squareup.okhttp3:mockwebserver:4.4.0 " )
237- testImplementation(" org.jetbrains.kotlin:kotlin-stdlib:1.4.32 " )
237+ testImplementation(" com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2 " )
238+ testImplementation(" org.jetbrains.kotlin:kotlin-stdlib:1.5.10 " )
238239// testImplementation("org.robolectric:robolectric:4.3")
239240
240241 /* *
0 commit comments