mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
upgrade Kotlin, Coroutines, Hilt, Fragment, AppCompat
This commit is contained in:
parent
7531b22a0a
commit
07b6bc16a0
3 changed files with 6 additions and 6 deletions
|
@ -76,10 +76,10 @@ dependencies {
|
|||
|
||||
implementation "com.google.dagger:hilt-android:$hilt_version"
|
||||
kapt "com.google.dagger:hilt-compiler:$hilt_version"
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1'
|
||||
implementation 'androidx.core:core-ktx:1.6.0'
|
||||
implementation 'androidx.fragment:fragment-ktx:1.3.5'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.0'
|
||||
implementation 'androidx.fragment:fragment-ktx:1.3.6'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
implementation 'com.google.android.material:material:1.4.0'
|
||||
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||
|
|
|
@ -50,7 +50,7 @@ object NetworkModule {
|
|||
*/
|
||||
@Provides
|
||||
@Singleton
|
||||
fun provideDeferredCallFactory(lazyClient: dagger.Lazy<OkHttpClient>): Deferred<Call.Factory> {
|
||||
fun provideCallFactoryAsync(lazyClient: dagger.Lazy<OkHttpClient>): Deferred<Call.Factory> {
|
||||
return BackgroundWorkScope.async(Dispatchers.IO, CoroutineStart.LAZY) { lazyClient.get() }
|
||||
}
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
ext {
|
||||
kotlin_version = '1.5.10'
|
||||
hilt_version = '2.37'
|
||||
kotlin_version = '1.5.21'
|
||||
hilt_version = '2.38'
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
|
|
Loading…
Reference in a new issue