add a new flavor, show Donate button in F-droids About section

This commit is contained in:
tibbi 2022-01-14 14:18:17 +01:00
parent 69e6971a5c
commit d9e7b825c9
2 changed files with 13 additions and 2 deletions

View File

@ -33,7 +33,7 @@ android {
buildTypes {
debug {
applicationIdSuffix ".debug"
applicationIdSuffix ".debug"
}
release {
minifyEnabled true
@ -44,6 +44,12 @@ android {
}
}
flavorDimensions "variants"
productFlavors {
core {}
fdroid {}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
@ -55,7 +61,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:14033f9b50'
implementation 'com.github.SimpleMobileTools:Simple-Commons:02b48c0b4d'
implementation 'me.grantland:autofittextview:0.2.1'
implementation 'net.objecthunter:exp4j:0.4.8'
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="default_vibrate_on_press">true</bool>
<bool name="show_donate_in_about">true</bool>
</resources>