From 6a1c5d2ce35fd2911760af70fc5dffe0d60ec9ce Mon Sep 17 00:00:00 2001 From: antonio Date: Wed, 28 Dec 2022 14:19:48 +0100 Subject: [PATCH] Updated dependencies and removed unused ones --- app/build.gradle | 32 +++++++++---------- .../java/com/cappielloantonio/play/App.java | 3 -- build.gradle | 4 +-- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 06abb953..590b4280 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 33 - buildToolsVersion '30.0.3' + buildToolsVersion '33.0.0' defaultConfig { applicationId "com.cappielloantonio.playforsubsonic" @@ -42,40 +42,40 @@ dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) // AndroidX - implementation 'androidx.core:core-ktx:1.8.0' - implementation 'androidx.appcompat:appcompat:1.5.0' + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0" implementation 'androidx.preference:preference-ktx:1.2.0' - implementation 'androidx.navigation:navigation-fragment-ktx:2.5.1' - implementation 'androidx.navigation:navigation-ui-ktx:2.5.1' + implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3' + implementation 'androidx.navigation:navigation-ui-ktx:2.5.3' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.room:room-runtime:2.4.3' implementation "androidx.cardview:cardview:1.0.0" implementation 'androidx.legacy:legacy-support-v4:1.0.0' // Google GMS - implementation 'com.google.android.gms:play-services-cast-framework:21.1.0' + implementation 'com.google.android.gms:play-services-cast-framework:21.2.0' // Android Material - implementation 'com.google.android.material:material:1.7.0-rc01' + implementation 'com.google.android.material:material:1.8.0-beta01' // SearchBar implementation 'com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.4' implementation "com.arthurivanets.adapster:adapster:1.0.13" // Glide - implementation 'com.github.bumptech.glide:glide:4.13.2' - implementation 'com.github.bumptech.glide:annotations:4.13.2' + implementation 'com.github.bumptech.glide:glide:4.14.2' + implementation 'com.github.bumptech.glide:annotations:4.14.2' // Media3 - implementation 'androidx.media3:media3-session:1.0.0-beta02' - implementation 'androidx.media3:media3-common:1.0.0-beta02' - implementation 'androidx.media3:media3-exoplayer:1.0.0-beta02' - implementation 'androidx.media3:media3-ui:1.0.0-beta02' - implementation 'androidx.media3:media3-cast:1.0.0-beta02' + implementation 'androidx.media3:media3-session:1.0.0-beta03' + implementation 'androidx.media3:media3-common:1.0.0-beta03' + implementation 'androidx.media3:media3-exoplayer:1.0.0-beta03' + implementation 'androidx.media3:media3-ui:1.0.0-beta03' + implementation 'androidx.media3:media3-cast:1.0.0-beta03' - annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2' + annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' annotationProcessor 'androidx.room:room-compiler:2.4.3' // Retrofit @@ -90,7 +90,7 @@ dependencies { implementation 'com.tickaroo.tikxml:converter-date-rfc3339:0.9.0_11-SNAPSHOT' // Crash Report - debugImplementation 'com.balsikandar.android:crashreporter:1.1.0' + // debugImplementation 'com.balsikandar.android:crashreporter:1.1.0' // DB debug // debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' diff --git a/app/src/main/java/com/cappielloantonio/play/App.java b/app/src/main/java/com/cappielloantonio/play/App.java index 0c472cba..faa1e236 100644 --- a/app/src/main/java/com/cappielloantonio/play/App.java +++ b/app/src/main/java/com/cappielloantonio/play/App.java @@ -6,7 +6,6 @@ import android.content.SharedPreferences; import androidx.preference.PreferenceManager; -import com.balsikandar.crashreporter.CrashReporter; import com.cappielloantonio.play.helper.ThemeHelper; import com.cappielloantonio.play.subsonic.Subsonic; import com.cappielloantonio.play.subsonic.SubsonicPreferences; @@ -23,8 +22,6 @@ public class App extends Application { super.onCreate(); DynamicColors.applyToActivitiesIfAvailable(this); - CrashReporter.initialize(this); - SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); String themePref = sharedPreferences.getString(PreferenceUtil.THEME, ThemeHelper.DEFAULT_MODE); ThemeHelper.applyTheme(themePref); diff --git a/build.gradle b/build.gradle index a663d971..5ee242d8 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.2' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21' + classpath 'com.android.tools.build:gradle:7.3.1' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files