adding core and fdroid build flavors

This commit is contained in:
tibbi 2022-04-20 21:25:18 +02:00
parent 671695294c
commit a478f8d396
4 changed files with 14 additions and 14 deletions

View File

@ -46,6 +46,12 @@ android {
}
}
flavorDimensions "variants"
productFlavors {
core {}
fdroid {}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
@ -54,16 +60,6 @@ android {
checkReleaseBuilds false
abortOnError false
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-XXLanguage:+NewInference"]
}
}
dependencies {

View File

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

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom"/>
app:showAsAction="ifRoom" />
</menu>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/cab_delete"
android:icon="@drawable/ic_delete_vector"
android:title="@string/delete"
app:showAsAction="ifRoom"/>
app:showAsAction="ifRoom" />
</menu>