2021-09-25 05:13:14 -07:00
# Speed up builds. Keep these flags here for quick debugging of issues.
org.gradle.caching = true
2022-07-18 04:07:58 -07:00
org.gradle.configureondemand = false
2022-03-07 09:40:58 -08:00
org.gradle.jvmargs = -Xmx2g -XX:MaxMetaspaceSize=512m
2022-07-18 04:07:58 -07:00
org.gradle.parallel = true
org.gradle.vfs.watch = true
2021-04-29 00:35:03 -07:00
2021-09-25 05:13:14 -07:00
android.useAndroidX = true
2021-08-24 11:38:43 -07:00
android.builder.sdkDownload = true
2021-09-25 05:13:14 -07:00
# Publishing
2022-08-16 05:53:23 -07:00
ZCASH_MAVEN_PUBLISH_SNAPSHOT_URL = https://oss.sonatype.org/content/repositories/snapshots/
ZCASH_MAVEN_PUBLISH_RELEASE_URL = https://oss.sonatype.org/service/local/staging/deploy/maven2/
2022-01-10 10:03:47 -08:00
2022-08-16 05:53:23 -07:00
## Configure these with command line arguments (`-PZCASH_MAVEN_PUBLISH_USERNAME=`), environment variables (`ORG_GRADLE_PROJECT_ZCASH_MAVEN_PUBLISH_USERNAME`), or global ~/.gradle/gradle.properties
ZCASH_MAVEN_PUBLISH_USERNAME =
ZCASH_MAVEN_PUBLISH_PASSWORD =
# GPG key is only required if IS_SNAPSHOT is false
# GPG key is ASCII armored without a password, then Base64 encoded to escape the newlines
ZCASH_ASCII_GPG_KEY =
2022-06-16 03:48:44 -07:00
2022-08-16 05:53:23 -07:00
# Configures whether release is an unstable snapshot, therefore published to the snapshot repository.
IS_SNAPSHOT = true
2022-01-11 05:11:15 -08:00
2022-09-26 03:56:18 -07:00
LIBRARY_VERSION = 1.9.0-beta04
2021-08-31 09:33:25 -07:00
2021-09-25 05:13:14 -07:00
# Kotlin compiler warnings can be considered errors, failing the build.
2022-08-17 06:48:02 -07:00
ZCASH_IS_TREAT_WARNINGS_AS_ERRORS = true
2021-09-25 05:13:14 -07:00
# Optionally configure code coverage, as historically Jacoco has at times been buggy with respect to new Kotlin versions
2022-06-06 13:46:59 -07:00
IS_ANDROID_INSTRUMENTATION_TEST_COVERAGE_ENABLED = false
2021-09-25 05:13:14 -07:00
# Optionally configure test orchestrator.
# It is disabled by default, because it causes tests to take about 2x longer to run.
IS_USE_TEST_ORCHESTRATOR = false
2022-06-21 04:57:04 -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-11 05:11:15 -08:00
ZCASH_FIREBASE_TEST_LAB_API_KEY_PATH =
2022-06-21 04:57:04 -07:00
ZCASH_FIREBASE_TEST_LAB_PROJECT =
ZCASH_EMULATOR_WTF_API_KEY =
2022-01-11 05:11:15 -08:00
2021-09-25 05:13:14 -07:00
# Optionally configure minification
2021-11-22 07:14:21 -08:00
# For now, don't minify the SDK but do minify the app. Minifying the app helps us test
# the proguard-consumer rules in the SDK.
IS_MINIFY_SDK_ENABLED = false
IS_MINIFY_APP_ENABLED = true
2021-09-25 05:13:14 -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.
2022-08-31 08:17:47 -07:00
# Without a release signing configuration, the release output will not be signed.
2021-09-25 05:13:14 -07:00
ZCASH_DEBUG_KEYSTORE_PATH =
2022-08-31 08:17:47 -07:00
ZCASH_RELEASE_KEYSTORE_PATH =
ZCASH_RELEASE_KEYSTORE_PASSWORD =
ZCASH_RELEASE_KEY_ALIAS =
ZCASH_RELEASE_KEY_ALIAS_PASSWORD =
2021-09-25 05:13:14 -07:00
2021-08-31 09:33:25 -07:00
# Versions
2022-10-04 07:27:09 -07:00
ANDROID_MIN_SDK_VERSION = 21
2022-08-31 08:17:47 -07:00
ANDROID_TARGET_SDK_VERSION = 33
2022-06-21 12:12:41 -07:00
ANDROID_COMPILE_SDK_VERSION = 33
2021-09-25 05:13:14 -07:00
2022-06-03 05:38:38 -07:00
# TODO[#317]: https://github.com/zcash/zcash-android-wallet-sdk/issues/317
# When changing this, be sure to update .github/actions/setup/action.yml
ANDROID_NDK_VERSION = 22.1.7171670
2021-09-25 05:13:14 -07:00
2022-09-19 05:06:15 -07:00
ANDROID_GRADLE_PLUGIN_VERSION = 7.3.0
2022-08-09 04:55:59 -07:00
DETEKT_VERSION = 1.21.0
2022-07-21 05:04:43 -07:00
DOKKA_VERSION = 1.7.10
2022-06-21 04:57:04 -07:00
EMULATOR_WTF_GRADLE_PLUGIN_VERSION = 0.0.10
2022-04-05 05:05:32 -07:00
FLANK_VERSION = 22.03.0
2022-06-14 11:50:35 -07:00
FULLADLE_VERSION = 0.17.4
2022-02-08 04:32:00 -08:00
GRADLE_VERSIONS_PLUGIN_VERSION = 0.42.0
2022-09-20 05:25:56 -07:00
KTLINT_VERSION = 0.47.1
2022-07-21 05:04:43 -07:00
KSP_VERSION = 1.7.10-1.0.6
2022-07-07 07:03:42 -07:00
PROTOBUF_GRADLE_PLUGIN_VERSION = 0.8.19
2022-05-09 04:23:25 -07:00
RUST_GRADLE_PLUGIN_VERSION = 0.9.3
2021-09-25 05:13:14 -07:00
2021-11-19 03:58:54 -08:00
ANDROIDX_ANNOTATION_VERSION = 1.3.0
2022-06-14 11:55:23 -07:00
ANDROIDX_APPCOMPAT_VERSION = 1.4.2
ANDROIDX_CONSTRAINT_LAYOUT_VERSION = 2.1.4
ANDROIDX_CORE_VERSION = 1.8.0
2022-10-19 13:52:54 -07:00
ANDROIDX_DATABASE_VERSION = 2.2.0
2021-09-25 06:44:31 -07:00
ANDROIDX_ESPRESSO_VERSION = 3.4.0
2022-04-04 08:01:03 -07:00
ANDROIDX_LIFECYCLE_VERSION = 2.4.1
2021-09-25 06:44:31 -07:00
ANDROIDX_MULTIDEX_VERSION = 2.0.1
2022-05-05 07:49:56 -07:00
ANDROIDX_NAVIGATION_VERSION = 2.4.2
2021-09-25 06:44:31 -07:00
ANDROIDX_PAGING_VERSION = 2.1.2
2022-07-28 07:15:23 -07:00
ANDROIDX_ROOM_VERSION = 2.4.3
2021-09-25 06:44:31 -07:00
ANDROIDX_TEST_JUNIT_VERSION = 1.1.3
ANDROIDX_TEST_ORCHESTRATOR_VERSION = 1.1.0-alpha1
2021-11-19 03:58:54 -08:00
ANDROIDX_TEST_VERSION = 1.4.0
2021-09-25 06:44:31 -07:00
ANDROIDX_UI_AUTOMATOR_VERSION = 2.2.0-alpha1
2022-08-03 13:07:35 -07:00
BIP39_VERSION = 1.0.4
2021-09-25 06:44:31 -07:00
COROUTINES_OKHTTP = 1.0
2022-06-14 11:55:23 -07:00
GOOGLE_MATERIAL_VERSION = 1.6.1
2022-08-03 13:07:14 -07:00
GRPC_VERSION = 1.48.1
2022-04-04 07:58:56 -07:00
GSON_VERSION = 2.9.0
2022-04-04 08:05:58 -07:00
GUAVA_VERSION = 31.1-android
2022-04-12 04:40:45 -07:00
JACOCO_VERSION = 0.8.8
2021-09-25 06:44:31 -07:00
JAVAX_ANNOTATION_VERSION = 1.3.2
2022-07-28 07:16:12 -07:00
JUNIT_VERSION = 5.9.0
2022-07-21 05:05:47 -07:00
KOTLINX_COROUTINES_VERSION = 1.6.4
2022-07-21 05:04:43 -07:00
KOTLIN_VERSION = 1.7.10
2021-09-25 06:44:31 -07:00
MOCKITO_KOTLIN_VERSION = 2.2.0
2022-06-14 11:56:52 -07:00
MOCKITO_VERSION = 4.6.1
2022-07-28 07:20:43 -07:00
PROTOC_VERSION = 3.21.4
2021-09-25 06:44:31 -07:00
ZCASH_WALLET_PLUGINS_VERSION = 1.0.1
2021-09-25 05:13:14 -07:00
# This shouldn't be changed, as Android doesn't support targets beyond Java 8
2022-09-20 05:25:56 -07:00
ANDROID_JVM_TARGET = 1.8