From 2e4bca966ab0a41343fe839f01994b00c486afd8 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Tue, 23 Nov 2021 00:05:25 +0800 Subject: [PATCH] bump compose version, add media3 --- TODO.org | 9 +++++---- app/build.gradle | 9 +++++++-- build.gradle | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/TODO.org b/TODO.org index 8b97417..7216a4b 100644 --- a/TODO.org +++ b/TODO.org @@ -2,11 +2,11 @@ TODO * Basic functionality -** TODO Manage servers [1/3] +** TODO Manage servers [3/3] - [X] Create -- [ ] Update -- [ ] Delete +- [X] Update +- [X] Delete ** TODO Music playback [0/3] @@ -19,7 +19,8 @@ TODO - [ ] Select and remember selected folder - [ ] Download music -** TODO Misc. [0/1] +** TODO Misc. [0/2] +- [ ] Input validation for url - [ ] Back key to navigate folder up diff --git a/app/build.gradle b/app/build.gradle index 1b145d7..fcca6cf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' diff --git a/build.gradle b/build.gradle index 97d47a5..c13c806 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { ext { kotlin_version = '1.5.31' - compose_version = '1.1.0-beta02' + compose_version = '1.1.0-beta03' } repositories { google()