0
0
mirror of https://github.com/florisboard/florisboard.git synced 2024-09-19 19:42:20 +02:00

add FLADDONS_*** prefix to BuildConfig fields

This commit is contained in:
lm41 2024-06-23 21:41:04 +02:00
parent 4b83c907c3
commit 025620a262
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -64,8 +64,8 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "BUILD_COMMIT_HASH", "\"${getGitCommitHash()}\"")
buildConfigField("String", "API_VERSION", "\"v~draft2\"")
buildConfigField("String", "STORE_URL", "\"fladdonstest.patrickgold.dev\"")
buildConfigField("String", "FLADDONS_API_VERSION", "\"v~draft2\"")
buildConfigField("String", "FLADDONS_STORE_URL", "\"fladdonstest.patrickgold.dev\"")
ksp {
arg("room.schemaLocation", "$projectDir/schemas")

View File

@ -123,8 +123,8 @@ abstract class Extension {
* @return the Url
*/
internal fun List<Extension>.generateUpdateUrl(
version: String = BuildConfig.API_VERSION,
host: String = BuildConfig.STORE_URL,
version: String = BuildConfig.FLADDONS_API_VERSION,
host: String = BuildConfig.FLADDONS_STORE_URL,
): String {
return Uri.Builder().run {
scheme("https")