feat: Updated libraries

This commit is contained in:
Stefan Schüller 2022-04-30 13:20:58 +02:00
parent b1fbb301b6
commit 528132c47d
2 changed files with 19 additions and 18 deletions

View File

@ -111,12 +111,12 @@ dependencies {
implementation 'com.google.android.material:material:1.5.0' implementation 'com.google.android.material:material:1.5.0'
implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$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.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' 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.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
@ -129,14 +129,14 @@ dependencies {
implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final' implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final'
// Vide playback // Vide playback
implementation 'com.google.android.exoplayer:exoplayer:2.16.1' implementation "com.google.android.exoplayer:exoplayer:$exo_player_version"
implementation 'com.google.android.exoplayer:exoplayer-core:2.16.1' implementation "com.google.android.exoplayer:exoplayer-core:$exo_player_version"
implementation 'com.google.android.exoplayer:exoplayer-hls:2.16.1' implementation "com.google.android.exoplayer:exoplayer-hls:$exo_player_version"
implementation 'com.google.android.exoplayer:exoplayer-ui:2.16.1' implementation "com.google.android.exoplayer:exoplayer-ui:$exo_player_version"
// Compose dependencies // Compose dependencies
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4" implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4.1"
implementation "androidx.navigation:navigation-compose:2.5.0-alpha01" implementation "androidx.navigation:navigation-compose:2.5.0-beta01"
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0" implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0"
implementation "com.google.accompanist:accompanist-flowlayout:0.17.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' implementation 'com.google.accompanist:accompanist-swiperefresh:0.22.0-rc'
// Coroutines // Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
// Coroutine Lifecycle Scopes // Coroutine Lifecycle Scopes
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.0" implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1"
//Dagger - Hilt //Dagger - Hilt
implementation "com.google.dagger:hilt-android:2.40.5" implementation "com.google.dagger:hilt-android:2.40.5"
@ -176,10 +176,10 @@ dependencies {
// Retrofit // Retrofit
// http client / REST // 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:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson: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" implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2"
} }

View File

@ -1,16 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext { ext {
compose_version = '1.2.0-alpha02' compose_version = '1.2.0-alpha08'
exo_player_version = '2.17.1'
koltin_version = '1.6.10' koltin_version = '1.6.10'
room_version = "2.4.1" room_version = '2.4.2'
} }
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
} }
dependencies { 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 "org.jetbrains.kotlin:kotlin-gradle-plugin:$koltin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:2.38.1" classpath "com.google.dagger:hilt-android-gradle-plugin:2.38.1"