|
|
@@ -1,24 +1,3 @@
|
|
|
-/* _____ _
|
|
|
- * |_ _| |_ _ _ ___ ___ _ __ __ _
|
|
|
- * | | | ' \| '_/ -_) -_) ' \/ _` |_
|
|
|
- * |_| |_||_|_| \___\___|_|_|_\__,_(_)
|
|
|
- *
|
|
|
- * Threema for Android
|
|
|
- * Copyright (c) 2014-2025 Threema GmbH
|
|
|
- *
|
|
|
- * This program is free software: you can redistribute it and/or modify
|
|
|
- * it under the terms of the GNU Affero General Public License, version 3,
|
|
|
- * as published by the Free Software Foundation.
|
|
|
- *
|
|
|
- * This program is distributed in the hope that it will be useful,
|
|
|
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
- * GNU Affero General Public License for more details.
|
|
|
- *
|
|
|
- * You should have received a copy of the GNU Affero General Public License
|
|
|
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
- */
|
|
|
-
|
|
|
import com.android.build.gradle.internal.api.ApkVariantOutputImpl
|
|
|
import com.android.build.gradle.internal.tasks.factory.dependsOn
|
|
|
import config.BuildFeatureFlags
|
|
|
@@ -51,7 +30,7 @@ if (gradle.startParameter.taskRequests.toString().contains("Hms")) {
|
|
|
/**
|
|
|
* Only use the scheme "<major>.<minor>.<patch>" for the appVersion
|
|
|
*/
|
|
|
-val appVersion = "6.3.0"
|
|
|
+val appVersion = "6.3.1"
|
|
|
|
|
|
/**
|
|
|
* betaSuffix with leading dash (e.g. `-beta1`).
|
|
|
@@ -60,7 +39,7 @@ val appVersion = "6.3.0"
|
|
|
*/
|
|
|
val betaSuffix = ""
|
|
|
|
|
|
-val defaultVersionCode = 1113
|
|
|
+val defaultVersionCode = 1116
|
|
|
|
|
|
/**
|
|
|
* Map with keystore paths (if found).
|
|
|
@@ -151,9 +130,6 @@ android {
|
|
|
booleanBuildConfigField("AVAILABILITY_STATUS_ENABLED", BuildFeatureFlags["availability_status"] ?: false)
|
|
|
booleanBuildConfigField("CRASH_REPORTING_SUPPORTED", BuildFeatureFlags["crash_reporting"] ?: false)
|
|
|
|
|
|
- // TODO(ANDR-4376): Remove this build flag
|
|
|
- booleanBuildConfigField("REFERRAL_PROGRAM_AVAILABLE", BuildFeatureFlags["referral_program_available"] ?: false)
|
|
|
-
|
|
|
// config fields for action URLs / deep links
|
|
|
stringBuildConfigField("uriScheme", "threema")
|
|
|
stringBuildConfigField("actionUrl", "go.threema.ch")
|
|
|
@@ -291,9 +267,6 @@ android {
|
|
|
stringBuildConfigField("MAP_POI_NAMES_URL", "https://poi.test.threema.ch/names/{latitude}/{longitude}/{query}/")
|
|
|
stringBuildConfigField("BLOB_MIRROR_SERVER_URL", "https://blob-mirror-{deviceGroupIdPrefix4}.test.threema.ch/{deviceGroupIdPrefix8}")
|
|
|
booleanBuildConfigField("CRASH_REPORTING_SUPPORTED", true)
|
|
|
-
|
|
|
- // TODO(ANDR-4376): Remove this build flag
|
|
|
- booleanBuildConfigField("REFERRAL_PROGRAM_AVAILABLE", true)
|
|
|
}
|
|
|
create("sandbox_work") {
|
|
|
versionName = "${appVersion}k$betaSuffix"
|