Merge pull request 'Reproducible build fix' (#208) from reproducible-build-tests into master

Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/208
This commit is contained in:
Bazsalanszky 2023-10-26 06:12:17 +00:00
commit 262d9f02ba
2 changed files with 10 additions and 1 deletions

View File

@ -33,7 +33,8 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
@ -97,6 +98,12 @@ android {
packagingOptions {
doNotStrip '**/*.so'
}
// Kotlin jvm target
kotlinOptions {
jvmTarget = '11'
}
namespace 'eu.toldi.infinityforlemmy'

View File

@ -5,6 +5,8 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate
-keepattributes SourceFile,LineNumberTable
## Preferences reflection
-keep class * extends androidx.preference.PreferenceFragmentCompat