This commit is contained in:
Philipp Heckel 2021-11-21 08:56:24 -05:00
parent 0c6f1cd540
commit b1390582da
2 changed files with 18 additions and 3 deletions

View file

@ -30,11 +30,25 @@ android {
release {
minifyEnabled true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
debuggable true
applicationIdSuffix ".debug"
versionNameSuffix "-debug"
}
}
flavorDimensions "store"
productFlavors {
forPlay {
dimension "store"
buildConfigField 'String', 'STORE', '"play"'
}
forFDroid {
dimension "store"
buildConfigField 'String', 'STORE', '"fdroid"'
}
}
@ -67,8 +81,8 @@ dependencies {
// OkHttp (HTTP library)
implementation "com.squareup.okhttp3:okhttp:4.9.2"
// Firebase, sigh ...
implementation 'com.google.firebase:firebase-messaging:22.0.0'
// Firebase, sigh ... (only Google Play)
forPlayImplementation 'com.google.firebase:firebase-messaging:22.0.0'
// RecyclerView
implementation "androidx.recyclerview:recyclerview:$rootProject.recyclerViewVersion"

1
app/proguard-rules.pro vendored Normal file
View file

@ -0,0 +1 @@
-dontobfuscate