From 528132c47da4fae29db3aad37e8cef2529b2938a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Sch=C3=BCller?= Date: Sat, 30 Apr 2022 13:20:58 +0200 Subject: [PATCH] feat: Updated libraries --- app/build.gradle | 30 +++++++++++++++--------------- build.gradle | 7 ++++--- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 43e23c2..7616374 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -111,12 +111,12 @@ dependencies { implementation 'com.google.android.material:material:1.5.0' implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.material:material:$compose_version" - implementation "androidx.compose.material3:material3:1.0.0-alpha04" + implementation "androidx.compose.material3:material3:1.0.0-alpha10" implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1' implementation 'androidx.activity:activity-compose:1.4.0' - testImplementation 'junit:junit:4.+' + testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" @@ -129,14 +129,14 @@ dependencies { implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final' // Vide playback - implementation 'com.google.android.exoplayer:exoplayer:2.16.1' - implementation 'com.google.android.exoplayer:exoplayer-core:2.16.1' - implementation 'com.google.android.exoplayer:exoplayer-hls:2.16.1' - implementation 'com.google.android.exoplayer:exoplayer-ui:2.16.1' + implementation "com.google.android.exoplayer:exoplayer:$exo_player_version" + implementation "com.google.android.exoplayer:exoplayer-core:$exo_player_version" + implementation "com.google.android.exoplayer:exoplayer-hls:$exo_player_version" + implementation "com.google.android.exoplayer:exoplayer-ui:$exo_player_version" // Compose dependencies - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4" - implementation "androidx.navigation:navigation-compose:2.5.0-alpha01" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4.1" + implementation "androidx.navigation:navigation-compose:2.5.0-beta01" implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0" implementation "com.google.accompanist:accompanist-flowlayout:0.17.0" @@ -158,12 +158,12 @@ dependencies { implementation 'com.google.accompanist:accompanist-swiperefresh:0.22.0-rc' // Coroutines - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2' - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0' // Coroutine Lifecycle Scopes - implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0" - implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.0" + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1" + implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1" //Dagger - Hilt implementation "com.google.dagger:hilt-android:2.40.5" @@ -176,10 +176,10 @@ dependencies { // Retrofit // http client / REST - implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2' + implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.3' implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' - implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.2" + implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.3" implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2" } diff --git a/build.gradle b/build.gradle index 8954018..cc3397b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,16 +1,17 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { - compose_version = '1.2.0-alpha02' + compose_version = '1.2.0-alpha08' + exo_player_version = '2.17.1' koltin_version = '1.6.10' - room_version = "2.4.1" + room_version = '2.4.2' } repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$koltin_version" classpath "com.google.dagger:hilt-android-gradle-plugin:2.38.1"