diff --git a/app/build.gradle b/app/build.gradle
index ddb856324..7ddad30ed 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,18 +5,17 @@ apply plugin: "androidx.navigation.safeargs.kotlin"
apply plugin: 'kotlin-parcelize'
android {
- compileSdkVersion 31
+ compileSdk 31
defaultConfig {
- minSdkVersion 21
- targetSdkVersion 31
+ minSdk 21
+ targetSdk 31
- renderscriptTargetApi 29//must match target sdk and build tools
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
- versionCode 10545
- versionName '5.4.2 ' + "_" + getDate()
+ versionCode 10551
+ versionName '5.5.0'
buildConfigField("String", "GOOGLE_PLAY_LICENSING_KEY", "\"${getProperty(getProperties('../public.properties'), 'GOOGLE_PLAY_LICENSE_KEY')}\"")
}
@@ -31,9 +30,10 @@ android {
}
buildTypes {
release {
- //debuggable true
+ versionNameSuffix "_" + getDate()
+ shrinkResources true
minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
@@ -95,22 +95,21 @@ dependencies {
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.recyclerview:recyclerview:1.3.0-alpha01'
- implementation 'androidx.preference:preference-ktx:1.2.0-beta01'
+ implementation "androidx.preference:preference-ktx:$preference_version"
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.palette:palette-ktx:1.0.0'
//Cast Dependencies
implementation 'androidx.mediarouter:mediarouter:1.2.5'
- implementation 'com.google.android.gms:play-services-cast-framework:20.1.0'
+ implementation 'com.google.android.gms:play-services-cast-framework:21.0.0'
//WebServer by NanoHttpd
implementation "org.nanohttpd:nanohttpd:2.3.1"
- def nav_version = '2.4.0-beta02'
- implementation "androidx.navigation:navigation-runtime-ktx:$nav_version"
- implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
- implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
+ implementation "androidx.navigation:navigation-runtime-ktx:$navigation_version"
+ implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
+ implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
- def room_version = '2.4.0-rc01'
+ def room_version = '2.4.0'
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version"
@@ -121,7 +120,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
implementation 'com.google.android.play:core-ktx:1.8.1'
- implementation 'com.google.android.material:material:1.5.0-beta01'
+ implementation "com.google.android.material:material:$mdc_version"
def retrofit_version = '2.9.0'
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
@@ -138,7 +137,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
- def kotlin_coroutines_version = '1.6.0-RC'
+ def kotlin_coroutines_version = '1.6.0-RC3'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version"
@@ -152,15 +151,19 @@ dependencies {
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
+ implementation 'com.github.bosphere.android-fadingedgelayout:fadingedgelayout:1.0.0'
+
+ implementation 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:3.0.0-RC3'
+ implementation 'com.github.jetradarmobile:android-snowfall:1.2.1'
+
implementation 'org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5'
- implementation 'com.github.AdrienPoupa:jaudiotagger:2.2.3'
+ implementation 'com.github.Adonai:jaudiotagger:2.3.15'
implementation 'com.anjlab.android.iab.v3:library:2.0.3'
implementation 'com.r0adkll:slidableactivity:2.1.0'
implementation 'com.heinrichreimersoftware:material-intro:2.0.0'
implementation 'com.github.dhaval2404:imagepicker:2.1'
implementation 'me.zhanghai.android.fastscroll:library:1.1.7'
implementation 'cat.ereza:customactivityoncrash:2.3.0'
+ implementation 'me.tankery.lib:circularSeekBar:1.3.2'
debugImplementation 'com.github.amitshekhariitbhu:Android-Debug-Database:1.0.6'
-}
-
-apply from: '../spotless.gradle'
+}
\ No newline at end of file
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 20ae13488..cba828f61 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -49,8 +49,11 @@
#-dontwarn
#-ignorewarnings
+#Jaudiotagger
-dontwarn org.jaudiotagger.**
+-dontwarn org.jcodec.**
-keep class org.jaudiotagger.** { *; }
+-keep class org.jcodec.** { *; }
-keepclassmembers enum * { *; }
-keepattributes *Annotation*, Signature, Exception
diff --git a/app/src/debug/res/values/donottranslate.xml b/app/src/debug/res/values/donottranslate.xml
index 879226a34..7d3f0ee62 100644
--- a/app/src/debug/res/values/donottranslate.xml
+++ b/app/src/debug/res/values/donottranslate.xml
@@ -1,4 +1,5 @@
Phonograph by
Karim Abou Zeid Material Dialogs and Cab
- by Aidan Michael Follestad AOSP Support Librariesby AOSP contributors
Glide by Sam Judd
Retrofit by Square team
+OkHttp by Square team
+Koin by Arnaud Giuliani
+Material Dialogs and Cab + by Aidan Michael Follestad
Material Contextual Action Bar by Aidan Michael Follestad
-OkHttp by Square team
-- CircleImageView by Henning Dodenhof
-- MaterialProgressBar by Zhang Hai
Android In-App Billing v3 Library by Henning Dodenhof
Advanced RecyclerView by Haruki Hasegawa
-Android-ObservableScrollView by Soichiro - Kashima
+Custom Activity on Crash by Eduard Ereza Martínez +
+NanoHttpd by NanoHttpd Team
+Circular Seekbar by Tankery
+jAudioTagger by Kanedias
+Android Fast Scroll by Zhang Hai
+Image Picker by Dhaval Patel
+Material Intro by Jan Heinrich Reimer
+Slidr by Drew Heavner
+FadingEdgeLayout by bosphere
+KeyboardVisibilityEvent by Yasuhiro SHIMIZU
+android-snowfall by Jetradar Mobile
Icons by Austin Andrews
-