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:
parent
4b83c907c3
commit
025620a262
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user