bump compose version, add media3

This commit is contained in:
Gary Wang
2021-11-23 00:05:25 +08:00
parent 9c9bdb9435
commit 2e4bca966a
3 changed files with 13 additions and 7 deletions

View File

@ -51,7 +51,7 @@ android {
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
implementation "androidx.compose.ui:ui:$compose_version"
@ -76,7 +76,12 @@ dependencies {
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation "com.squareup.okhttp3:okhttp:4.9.0"
def media3_version = '1.0.0-alpha01'
implementation "androidx.media3:media3-ui:$media3_version"
implementation "androidx.media3:media3-exoplayer:$media3_version"
implementation "androidx.media3:media3-session:$media3_version"
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'