Merge pull request #1650 from Bnyro/master

fix the updater
This commit is contained in:
Bnyro 2022-10-23 18:59:41 +02:00 committed by GitHub
commit f9553b5f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -41,6 +41,8 @@ android {
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
debuggable true
applicationIdSuffix ".debug"
resValue "string", "app_name", "LibreTube Debug"

View File

@ -16,15 +16,16 @@
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
# prevents obfuscation in debug logs
-dontobfuscate
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#uncomment for debug
#-keepnames class **
# Keep data classes used for Retrofit
-keep class com.github.libretube.obj.** { *; }
# prevents android from removing it
-keep class com.github.libretube.obj.**.** { *; }
# prevents obfuscation in debug logs
-dontobfuscate
-keep class com.github.libretube.obj.update.** { *; }