Rename fdroid flavor to foss

This commit is contained in:
Naveen
2024-04-14 22:20:33 +05:30
parent c67d085312
commit e20e37d520
3 changed files with 4 additions and 8 deletions

View File

@@ -7,11 +7,6 @@ plugins {
alias(libs.plugins.kotlinAndroid)
alias(libs.plugins.ksp)
alias(libs.plugins.kotlinSerialization)
base
}
base {
archivesName.set("notes")
}
val keystorePropertiesFile: File = rootProject.file("keystore.properties")
@@ -29,6 +24,7 @@ android {
targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
versionName = project.libs.versions.app.version.versionName.get()
versionCode = project.libs.versions.app.version.versionCode.get().toInt()
setProperty("archivesBaseName", "notes-$versionCode")
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
@@ -69,7 +65,7 @@ android {
flavorDimensions.add("variants")
productFlavors {
register("core")
register("fdroid")
register("foss")
register("prepaid")
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="show_donate_in_about">false</bool>
<bool name="hide_google_relations">true</bool>
<bool name="hide_all_external_links">true</bool>
<bool name="hide_google_relations">false</bool>
<bool name="hide_all_external_links">false</bool>
</resources>