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

@ -2,11 +2,11 @@ TODO
* Basic functionality * Basic functionality
** TODO Manage servers [1/3] ** TODO Manage servers [3/3]
- [X] Create - [X] Create
- [ ] Update - [X] Update
- [ ] Delete - [X] Delete
** TODO Music playback [0/3] ** TODO Music playback [0/3]
@ -19,7 +19,8 @@ TODO
- [ ] Select and remember selected folder - [ ] Select and remember selected folder
- [ ] Download music - [ ] Download music
** TODO Misc. [0/1] ** TODO Misc. [0/2]
- [ ] Input validation for url
- [ ] Back key to navigate folder up - [ ] Back key to navigate folder up

View File

@ -51,7 +51,7 @@ android {
dependencies { dependencies {
implementation 'androidx.core:core-ktx:1.7.0' 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 'com.google.android.material:material:1.4.0'
implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.ui:ui:$compose_version"
@ -76,7 +76,12 @@ dependencies {
implementation "androidx.room:room-runtime:$room_version" implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$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.+' testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.ext:junit:1.1.3'

View File

@ -2,7 +2,7 @@
buildscript { buildscript {
ext { ext {
kotlin_version = '1.5.31' kotlin_version = '1.5.31'
compose_version = '1.1.0-beta02' compose_version = '1.1.0-beta03'
} }
repositories { repositories {
google() google()