mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
add a new flavor, show Donate button in F-droids About section
This commit is contained in:
@@ -44,6 +44,12 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flavorDimensions "variants"
|
||||||
|
productFlavors {
|
||||||
|
core {}
|
||||||
|
fdroid {}
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main.java.srcDirs += 'src/main/kotlin'
|
main.java.srcDirs += 'src/main/kotlin'
|
||||||
}
|
}
|
||||||
@@ -55,7 +61,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:14033f9b50'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:02b48c0b4d'
|
||||||
implementation 'me.grantland:autofittextview:0.2.1'
|
implementation 'me.grantland:autofittextview:0.2.1'
|
||||||
implementation 'net.objecthunter:exp4j:0.4.8'
|
implementation 'net.objecthunter:exp4j:0.4.8'
|
||||||
}
|
}
|
||||||
|
5
app/src/fdroid/res/values/bools.xml
Normal file
5
app/src/fdroid/res/values/bools.xml
Normal 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>
|
Reference in New Issue
Block a user