Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwernick committed Nov 24, 2023
1 parent 6a5c04d commit 634727b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Maven Central](https://img.shields.io/maven-central/v/com.devbrackets.android/exomedia)

ExoMedia
============
ExoMedia is an audio/video playback library for Android built on top of the ExoPlayer
Expand Down Expand Up @@ -99,4 +101,4 @@ Attribution
[CTS]: https://source.android.com/compatibility/cts/index.html
[Design Icons]: https://github.com/google/material-design-icons
[ExoPlayer]: https://github.com/androidx/media
[MavenCentral]: https://s01.oss.sonatype.org/#nexus-search;quick~com.devbrackets.android.exomedia
[MavenCentral]: https://search.maven.org/artifact/com.devbrackets.android/exomedia
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlinVersion = '1.8.21'
ext.kotlinVersion = '1.9.20'
repositories {
mavenCentral()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:8.1.0'
classpath 'com.android.tools.build:gradle:8.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
Expand All @@ -18,7 +18,7 @@ plugins {
apply from: './gradle/util/testOutput.gradle'

ext {
media3Version = "1.1.0"
media3Version = "1.2.0"
}

allprojects {
Expand Down
19 changes: 9 additions & 10 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

ext {
composeVersion = "1.4.3"
composeCompilerVersion = "1.4.7"
composeVersion = "1.5.4"
composeCompilerVersion = "1.5.4"
}

dependencies {
Expand All @@ -14,7 +14,7 @@ dependencies {
implementation "androidx.media3:media3-datasource-okhttp:$rootProject.ext.media3Version" // Custom HTTP

// Misc
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.media:media:1.6.0'
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
Expand All @@ -26,9 +26,9 @@ dependencies {
implementation "androidx.compose.material:material:$composeVersion"
implementation "androidx.compose.material:material-icons-core:$composeVersion"
implementation "androidx.compose.material:material-icons-extended:$composeVersion"
implementation 'androidx.activity:activity-compose:1.7.2'
implementation "androidx.navigation:navigation-compose:2.6.0"
implementation "com.google.accompanist:accompanist-navigation-animation:0.30.1"
implementation 'androidx.activity:activity-compose:1.8.1'
implementation "androidx.navigation:navigation-compose:2.7.5"
implementation "com.google.accompanist:accompanist-navigation-animation:0.32.0"


// Image Loading
Expand All @@ -43,12 +43,13 @@ dependencies {
}

android {
compileSdkVersion 33
namespace 'com.devbrackets.android.exomediademo'
compileSdk 34

defaultConfig {
applicationId "com.devbrackets.android.exomediademo"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0.0"
}
Expand Down Expand Up @@ -78,6 +79,4 @@ android {
lint {
abortOnError false
}
namespace 'com.devbrackets.android.exomediademo'

}
2 changes: 2 additions & 0 deletions demo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<application
android:allowBackup="false"
Expand Down Expand Up @@ -35,6 +36,7 @@

<service
android:name="com.devbrackets.android.exomediademo.playlist.service.MediaService"
android:foregroundServiceType="mediaPlayback"
android:enabled="true"
android:exported="false">
</service>
Expand Down
5 changes: 2 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ dependencies {
}

android {
compileSdkVersion 33

namespace 'com.devbrackets.android.exomedia'
compileSdk 34

defaultConfig {
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34

vectorDrawables.useSupportLibrary = true

Expand Down

0 comments on commit 634727b

Please sign in to comment.