Updated dependencies and removed unused ones

This commit is contained in:
antonio 2022-12-28 14:19:48 +01:00
parent 64ce58d10b
commit 6a1c5d2ce3
3 changed files with 18 additions and 21 deletions

View file

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
android { android {
compileSdkVersion 33 compileSdkVersion 33
buildToolsVersion '30.0.3' buildToolsVersion '33.0.0'
defaultConfig { defaultConfig {
applicationId "com.cappielloantonio.playforsubsonic" applicationId "com.cappielloantonio.playforsubsonic"
@ -42,40 +42,40 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"]) implementation fileTree(dir: "libs", include: ["*.jar"])
// AndroidX // AndroidX
implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.0' implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0" implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0"
implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'androidx.preference:preference-ktx:1.2.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.1' implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
implementation 'androidx.navigation:navigation-ui-ktx:2.5.1' implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.room:room-runtime:2.4.3' implementation 'androidx.room:room-runtime:2.4.3'
implementation "androidx.cardview:cardview:1.0.0" implementation "androidx.cardview:cardview:1.0.0"
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// Google GMS // 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 // Android Material
implementation 'com.google.android.material:material:1.7.0-rc01' implementation 'com.google.android.material:material:1.8.0-beta01'
// SearchBar // SearchBar
implementation 'com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.4' implementation 'com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.4'
implementation "com.arthurivanets.adapster:adapster:1.0.13" implementation "com.arthurivanets.adapster:adapster:1.0.13"
// Glide // Glide
implementation 'com.github.bumptech.glide:glide:4.13.2' implementation 'com.github.bumptech.glide:glide:4.14.2'
implementation 'com.github.bumptech.glide:annotations:4.13.2' implementation 'com.github.bumptech.glide:annotations:4.14.2'
// Media3 // Media3
implementation 'androidx.media3:media3-session:1.0.0-beta02' implementation 'androidx.media3:media3-session:1.0.0-beta03'
implementation 'androidx.media3:media3-common:1.0.0-beta02' implementation 'androidx.media3:media3-common:1.0.0-beta03'
implementation 'androidx.media3:media3-exoplayer:1.0.0-beta02' implementation 'androidx.media3:media3-exoplayer:1.0.0-beta03'
implementation 'androidx.media3:media3-ui:1.0.0-beta02' implementation 'androidx.media3:media3-ui:1.0.0-beta03'
implementation 'androidx.media3:media3-cast:1.0.0-beta02' 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' annotationProcessor 'androidx.room:room-compiler:2.4.3'
// Retrofit // Retrofit
@ -90,7 +90,7 @@ dependencies {
implementation 'com.tickaroo.tikxml:converter-date-rfc3339:0.9.0_11-SNAPSHOT' implementation 'com.tickaroo.tikxml:converter-date-rfc3339:0.9.0_11-SNAPSHOT'
// Crash Report // Crash Report
debugImplementation 'com.balsikandar.android:crashreporter:1.1.0' // debugImplementation 'com.balsikandar.android:crashreporter:1.1.0'
// DB debug // DB debug
// debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' // debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'

View file

@ -6,7 +6,6 @@ import android.content.SharedPreferences;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import com.balsikandar.crashreporter.CrashReporter;
import com.cappielloantonio.play.helper.ThemeHelper; import com.cappielloantonio.play.helper.ThemeHelper;
import com.cappielloantonio.play.subsonic.Subsonic; import com.cappielloantonio.play.subsonic.Subsonic;
import com.cappielloantonio.play.subsonic.SubsonicPreferences; import com.cappielloantonio.play.subsonic.SubsonicPreferences;
@ -23,8 +22,6 @@ public class App extends Application {
super.onCreate(); super.onCreate();
DynamicColors.applyToActivitiesIfAvailable(this); DynamicColors.applyToActivitiesIfAvailable(this);
CrashReporter.initialize(this);
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
String themePref = sharedPreferences.getString(PreferenceUtil.THEME, ThemeHelper.DEFAULT_MODE); String themePref = sharedPreferences.getString(PreferenceUtil.THEME, ThemeHelper.DEFAULT_MODE);
ThemeHelper.applyTheme(themePref); ThemeHelper.applyTheme(themePref);

View file

@ -5,8 +5,8 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.2.2' classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21' classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files