2021-09-14 14:02:06 -07:00
|
|
|
# Speed up builds. Keep these flags here for quick debugging of issues.
|
2022-02-04 04:11:38 -08:00
|
|
|
org.gradle.caching=true
|
2022-07-18 07:44:58 -07:00
|
|
|
org.gradle.configureondemand=false
|
2021-12-31 05:28:16 -08:00
|
|
|
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
|
2022-07-18 07:44:58 -07:00
|
|
|
org.gradle.parallel=true
|
|
|
|
org.gradle.vfs.watch=true
|
2021-09-14 14:02:06 -07:00
|
|
|
|
2021-10-19 05:02:15 -07:00
|
|
|
kotlin.mpp.stability.nowarn=true
|
|
|
|
|
2021-09-14 14:02:06 -07:00
|
|
|
android.builder.sdkDownload=true
|
2022-06-21 04:49:09 -07:00
|
|
|
android.nonTransitiveRClass=true
|
|
|
|
android.suppressUnsupportedCompileSdk=33
|
|
|
|
android.useAndroidX=true
|
2021-09-14 14:02:06 -07:00
|
|
|
|
2021-09-22 09:37:15 -07:00
|
|
|
# Kotlin compiler warnings can be considered errors, failing the build.
|
2022-01-04 05:41:05 -08:00
|
|
|
ZCASH_IS_TREAT_WARNINGS_AS_ERRORS=true
|
2021-09-22 09:37:15 -07:00
|
|
|
|
2022-06-02 10:00:32 -07:00
|
|
|
# Optionally configure coverage for Kotlin modules (e.g. with Kover)
|
|
|
|
IS_KOTLIN_TEST_COVERAGE_ENABLED=true
|
|
|
|
|
|
|
|
# Optionally configure Android instumentation test coverage.
|
2021-10-19 05:02:15 -07:00
|
|
|
# The app module will crash at launch when coverage is enabled, so coverage is only enabled explicitly for tests.
|
2022-06-02 10:00:32 -07:00
|
|
|
IS_ANDROID_INSTRUMENTATION_TEST_COVERAGE_ENABLED=false
|
2021-09-14 14:02:06 -07:00
|
|
|
|
|
|
|
# Optionally configure test orchestrator.
|
|
|
|
# It is disabled by default, because it causes tests to take about 2x longer to run.
|
2021-12-09 12:21:30 -08:00
|
|
|
IS_USE_TEST_ORCHESTRATOR=false
|
2021-09-14 14:02:06 -07:00
|
|
|
|
2022-05-24 06:39:56 -07:00
|
|
|
# Either provide a path to a Firebase Test Lab service key (best for CI)
|
|
|
|
# OR
|
|
|
|
# login with `./gradlew flankAuth` and provide the project name (best for local development)
|
2022-01-26 12:13:19 -08:00
|
|
|
ZCASH_FIREBASE_TEST_LAB_API_KEY_PATH=
|
2022-05-24 06:39:56 -07:00
|
|
|
ZCASH_FIREBASE_TEST_LAB_PROJECT=
|
2022-01-26 12:13:19 -08:00
|
|
|
|
2021-09-14 14:02:06 -07:00
|
|
|
# Optionally disable minification
|
|
|
|
IS_MINIFY_ENABLED=true
|
|
|
|
|
2021-12-02 12:18:17 -08:00
|
|
|
# If ZCASH_GOOGLE_PLAY_SERVICE_KEY_FILE_PATH is set and the deployment task is triggered, then
|
|
|
|
# VERSION_CODE is effectively ignored VERSION_NAME is suffixed with the version code.
|
|
|
|
# If not using automated Google Play deployment, then these serve as the actual version numbers.
|
|
|
|
ZCASH_VERSION_CODE=1
|
|
|
|
ZCASH_VERSION_NAME=0.1
|
|
|
|
|
2022-06-29 13:47:32 -07:00
|
|
|
# Set these fields, as you need them (e.g. with values "Zcash X" and "co.electriccoin.zcash.x")
|
|
|
|
# to distinguish a different release build that can be installed alongside the official version
|
|
|
|
# available on Google Play. This is particularly useful for debugging R8 rules.
|
|
|
|
# These are consumed by app/build.gradle.kts
|
|
|
|
ZCASH_RELEASE_APP_NAME=Zcash
|
|
|
|
ZCASH_RELEASE_PACKAGE_NAME=co.electriccoin.zcash
|
|
|
|
|
|
|
|
ZCASH_DEBUG_APP_NAME_SUFFIX=" Debug"
|
|
|
|
|
2021-09-14 14:02:06 -07:00
|
|
|
# Set keystore details to enable build signing. Typically these
|
|
|
|
# are overridden via ~/.gradle/gradle.properties to allow secure injection.
|
|
|
|
# Debug keystore is useful if using Google Maps or Firebase, which require API keys to be linked
|
|
|
|
# to a signing key. Without a debug keystore, the default Android debug keystore will be used.
|
|
|
|
# Without a release signing configuration, the release output will not be signed.
|
|
|
|
ZCASH_DEBUG_KEYSTORE_PATH=
|
|
|
|
ZCASH_RELEASE_KEYSTORE_PATH=
|
|
|
|
ZCASH_RELEASE_KEYSTORE_PASSWORD=
|
|
|
|
ZCASH_RELEASE_KEY_ALIAS=
|
|
|
|
ZCASH_RELEASE_KEY_ALIAS_PASSWORD=
|
|
|
|
|
2021-12-02 12:18:17 -08:00
|
|
|
# Optionally set the Google Play Service Key path to enable deployment
|
|
|
|
ZCASH_GOOGLE_PLAY_SERVICE_KEY_FILE_PATH=
|
|
|
|
# Can be one of {build, deploy}.
|
|
|
|
# Build can be used to generate a version number for the next release, but does not ultimately create a release on Google Play.
|
|
|
|
# Deploy commits the build on Google Play, creating a new release
|
|
|
|
ZCASH_GOOGLE_PLAY_DEPLOY_MODE=build
|
|
|
|
|
2022-05-17 07:06:56 -07:00
|
|
|
ZCASH_EMULATOR_WTF_API_KEY=
|
|
|
|
|
2022-06-06 06:07:29 -07:00
|
|
|
# Optional absolute path to a Zcash SDK checkout.
|
|
|
|
# When blank, it pulls the SDK from Maven.
|
|
|
|
# When set, it uses the path for a Gradle included build. Path can either be absolute or relative to the root of this app's Gradle project.
|
|
|
|
SDK_INCLUDED_BUILD_PATH=
|
2022-01-04 05:41:05 -08:00
|
|
|
|
2022-06-13 11:14:14 -07:00
|
|
|
# When blank, it pulls the BIP-39 library from Maven.
|
|
|
|
# When set, it uses the path for a Gradle included build. Path can either be absolute or relative to the root of this app's Gradle project.
|
|
|
|
BIP_39_INCLUDED_BUILD_PATH=
|
|
|
|
|
2021-09-14 14:02:06 -07:00
|
|
|
# Versions
|
2022-05-17 07:06:56 -07:00
|
|
|
# A lower version on the libraries helps to ensure some degree of backwards compatiblity, for the project
|
|
|
|
# as a whole. But a higher version on the app ensures that we aren't directly supporting users
|
|
|
|
# with old devices.
|
2022-06-02 08:09:02 -07:00
|
|
|
ANDROID_LIB_MIN_SDK_VERSION=24
|
2022-05-17 07:06:56 -07:00
|
|
|
ANDROID_APP_MIN_SDK_VERSION=27
|
2022-06-09 09:31:44 -07:00
|
|
|
ANDROID_TARGET_SDK_VERSION=32
|
2022-06-21 04:49:09 -07:00
|
|
|
ANDROID_COMPILE_SDK_VERSION=33
|
2021-09-14 14:02:06 -07:00
|
|
|
|
|
|
|
ANDROID_NDK_VERSION=23.0.7599858
|
|
|
|
|
2022-05-31 11:31:23 -07:00
|
|
|
ANDROID_GRADLE_PLUGIN_VERSION=7.2.1
|
2022-05-31 11:56:26 -07:00
|
|
|
DETEKT_VERSION=1.20.0
|
2022-05-17 07:06:56 -07:00
|
|
|
EMULATOR_WTF_GRADLE_PLUGIN_VERSION=0.0.10
|
2022-04-08 11:06:34 -07:00
|
|
|
FLANK_VERSION=21.09.0
|
2022-05-31 11:52:49 -07:00
|
|
|
FULLADLE_VERSION=0.17.4
|
2022-05-31 11:34:40 -07:00
|
|
|
GRADLE_VERSIONS_PLUGIN_VERSION=0.42.0
|
2022-04-04 06:20:23 -07:00
|
|
|
JGIT_VERSION=6.1.0.202203080745-r
|
2022-06-22 02:48:19 -07:00
|
|
|
KTLINT_VERSION=0.46.1
|
2022-04-04 06:37:00 -07:00
|
|
|
PLAY_PUBLISHER_PLUGIN_VERSION=3.7.0
|
2021-09-14 14:02:06 -07:00
|
|
|
|
2022-06-02 04:35:51 -07:00
|
|
|
ACCOMPANIST_PERMISSIONS_VERSION=0.23.1
|
2022-06-30 06:37:38 -07:00
|
|
|
ANDROIDX_ACTIVITY_VERSION=1.5.0
|
|
|
|
ANDROIDX_ANNOTATION_VERSION=1.4.0
|
|
|
|
ANDROIDX_APPCOMPAT_VERSION=1.4.2
|
|
|
|
ANDROIDX_CAMERA_VERSION=1.1.0
|
2022-06-29 13:26:40 -07:00
|
|
|
ANDROIDX_COMPOSE_COMPILER_VERSION=1.2.0
|
|
|
|
ANDROIDX_COMPOSE_MATERIAL3_VERSION=1.0.0-alpha14
|
|
|
|
ANDROIDX_COMPOSE_VERSION=1.2.0-rc03
|
|
|
|
ANDROIDX_CONSTRAINTLAYOUT_VERSION=1.0.1
|
2022-06-30 06:37:38 -07:00
|
|
|
ANDROIDX_CORE_VERSION=1.8.0
|
2022-06-02 08:09:02 -07:00
|
|
|
ANDROIDX_ESPRESSO_VERSION=3.5.0-alpha07
|
2022-06-30 06:37:38 -07:00
|
|
|
ANDROIDX_LIFECYCLE_VERSION=2.5.0
|
|
|
|
ANDROIDX_NAVIGATION_COMPOSE_VERSION=2.5.0
|
2021-10-19 05:02:15 -07:00
|
|
|
ANDROIDX_SECURITY_CRYPTO_VERSION=1.1.0-alpha03
|
2022-05-31 11:54:22 -07:00
|
|
|
ANDROIDX_SPLASH_SCREEN_VERSION=1.0.0-rc01
|
2022-06-02 08:09:02 -07:00
|
|
|
ANDROIDX_TEST_JUNIT_VERSION=1.1.4-alpha07
|
2022-06-30 06:37:38 -07:00
|
|
|
ANDROIDX_TEST_ORCHESTRATOR_VERSION=1.4.2-alpha04
|
|
|
|
ANDROIDX_TEST_CORE_VERSION=1.5.0-alpha01
|
|
|
|
ANDROIDX_TEST_RUNNER_VERSION=1.5.0-alpha04
|
2021-09-14 14:02:06 -07:00
|
|
|
ANDROIDX_UI_AUTOMATOR_VERSION=2.2.0-alpha1
|
2022-02-04 04:37:08 -08:00
|
|
|
ANDROIDX_WORK_MANAGER_VERSION=2.7.1
|
2021-11-09 10:53:20 -08:00
|
|
|
CORE_LIBRARY_DESUGARING_VERSION=1.1.5
|
2022-04-12 04:03:54 -07:00
|
|
|
JACOCO_VERSION=0.8.8
|
2022-06-29 13:19:17 -07:00
|
|
|
KOTLIN_VERSION=1.7.0
|
2022-07-14 04:56:50 -07:00
|
|
|
KOTLINX_COROUTINES_VERSION=1.6.4
|
2022-06-29 13:24:13 -07:00
|
|
|
KOTLINX_DATETIME_VERSION=0.4.0
|
2022-06-02 10:00:32 -07:00
|
|
|
KOVER_VERSION=0.5.0
|
2022-05-16 04:40:50 -07:00
|
|
|
PLAY_CORE_VERSION=1.10.3
|
|
|
|
PLAY_CORE_KTX_VERSION=1.8.1
|
2021-11-12 04:09:30 -08:00
|
|
|
ZCASH_ANDROID_WALLET_PLUGINS_VERSION=1.0.0
|
2021-12-29 11:38:14 -08:00
|
|
|
ZCASH_BIP39_VERSION=1.0.2
|
2022-03-16 05:03:04 -07:00
|
|
|
# TODO [#279]: Revert to stable SDK before app release
|
2022-07-07 10:25:41 -07:00
|
|
|
ZCASH_SDK_VERSION=1.7.0-beta01
|
2022-05-31 11:37:46 -07:00
|
|
|
ZXING_VERSION=3.5.0
|
2021-09-14 14:02:06 -07:00
|
|
|
|
2022-05-16 04:40:50 -07:00
|
|
|
|
2021-11-10 08:38:20 -08:00
|
|
|
# Toolchain is the Java version used to build the application, which is separate from the
|
2021-12-03 05:16:24 -08:00
|
|
|
# Java version used to run the application. Android requires a minimum of 11.
|
|
|
|
JVM_TOOLCHAIN=17
|
2021-11-10 08:38:20 -08:00
|
|
|
|
2021-09-14 14:02:06 -07:00
|
|
|
# This shouldn't be changed, as Android doesn't support targets beyond Java 8
|
|
|
|
ANDROID_JVM_TARGET=1.8
|