3 Commits

Author SHA1 Message Date
Bazsalanszky
262d9f02ba Merge pull request 'Reproducible build fix' (#208) from reproducible-build-tests into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/208
2023-10-26 06:12:17 +00:00
Bazsalanszky
45b0399766 Merge branch 'master' into reproducible-build-tests 2023-10-26 06:11:47 +00:00
Balazs Toldi
3bee0deb11 Reproducible build fix 2023-10-26 08:05:23 +02:00
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