2021-09-25 05:13:14 -07:00
# Speed up builds. Keep these flags here for quick debugging of issues.
2022-03-07 09:40:58 -08:00
# https://github.com/gradle/gradle/issues/13382
org.gradle.vfs.watch = false
2021-09-25 05:13:14 -07:00
org.gradle.configureondemand = false
org.gradle.caching = true
org.gradle.parallel = true
2022-03-07 09:40:58 -08:00
org.gradle.jvmargs = -Xmx2g -XX:MaxMetaspaceSize=512m
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-01-10 10:03:47 -08:00
## Configure these with command line arguments (`-PmavenCentralUsername=`), environment variables (`ORG_GRADLE_PROJECT_mavenCentralUsername`), or global ~/.gradle/gradle.properties
## Don't rename these; although we're consuming them directly for snapshot releases, they have special meaning in the com.vanniktech.maven.publish plugin and are used implicitly by it
mavenCentralUsername =
mavenCentralPassword =
2022-01-11 05:11:15 -08:00
# Configures whether release is an unstable snapshot.
IS_SNAPSHOT = true
2022-01-27 12:42:35 -08:00
LIBRARY_VERSION = 1.4.0-beta01
2021-04-09 18:41:55 -07:00
POM_NAME = Zcash Android Wallet SDK
2022-02-08 05:07:47 -08:00
GROUP = cash.z.ecc.android
2021-09-25 05:13:14 -07:00
POM_ARTIFACT_ID = zcash-android-sdk
2021-04-09 18:41:55 -07:00
POM_DESCRIPTION = This lightweight SDK connects Android to Zcash. It welds together Rust and Kotlin in a minimal way, allowing third-party Android apps to send and receive shielded transactions easily, securely and privately.
POM_INCEPTION_YEAR = 2018
POM_URL = https://github.com/zcash/zcash-android-wallet-sdk/
POM_SCM_URL = https://github.com/zcash/zcash-android-wallet-sdk/
POM_SCM_CONNECTION = scm:git:git://github.com/zcash/zcash-android-wallet-sdk.git
POM_SCM_DEV_CONNECTION = scm:git:ssh://git@github.com/zcash/zcash-android-wallet-sdk.git
POM_LICENCE_NAME = The MIT License
POM_LICENCE_URL = http://opensource.org/licenses/MIT
POM_LICENCE_DIST = repo
2022-02-18 04:54:16 -08:00
POM_DEVELOPER_ID = zcash
POM_DEVELOPER_NAME = Zcash
POM_DEVELOPER_URL = https://github.com/zcash/
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.
# Currently set to false, because this project has a lot of warnings to fix first.
IS_TREAT_WARNINGS_AS_ERRORS = false
# Optionally configure code coverage, as historically Jacoco has at times been buggy with respect to new Kotlin versions
IS_COVERAGE_ENABLED = false
# 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-01-11 05:11:15 -08:00
# Optional API key for Firebase Test Lab
ZCASH_FIREBASE_TEST_LAB_API_KEY_PATH =
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.
ZCASH_DEBUG_KEYSTORE_PATH =
2021-08-31 09:33:25 -07:00
# Versions
2022-01-10 09:36:53 -08:00
ANDROID_MIN_SDK_VERSION = 19
2021-09-25 05:13:14 -07:00
ANDROID_TARGET_SDK_VERSION = 31
ANDROID_COMPILE_SDK_VERSION = 31
2021-08-31 09:33:25 -07:00
# Note: When updating the NDK version here, be sure to update the version on the CI server as well
2021-11-22 06:20:59 -08:00
ANDROID_NDK_VERSION = 22.1.7171670
2021-09-25 05:13:14 -07:00
2022-03-02 07:23:32 -08:00
ANDROID_GRADLE_PLUGIN_VERSION = 7.1.2
2022-01-04 12:09:29 -08:00
DETEKT_VERSION = 1.19.0
2022-01-04 12:02:19 -08:00
DOKKA_VERSION = 1.6.10
2022-01-11 05:11:15 -08:00
FULLADLE_VERSION_MATCHER = 0.17.3
2022-02-08 04:32:00 -08:00
GRADLE_VERSIONS_PLUGIN_VERSION = 0.42.0
2022-04-04 07:53:48 -07:00
KTLINT_VERSION = 0.45.1
2022-04-04 08:03:42 -07:00
KSP_VERSION = 1.6.20-1.0.4
2021-11-19 04:03:37 -08:00
MAVEN_PUBLISH_GRADLE_PLUGIN = 0.18.0
2021-11-21 05:36:21 -08:00
OWASP_DEPENDENCY_CHECK_VERSION = 6.5.0.1
2021-11-17 16:08:11 -08:00
PROTOBUF_GRADLE_PLUGIN_VERSION = 0.8.18
2022-03-02 08:06:02 -08:00
RUST_GRADLE_PLUGIN_VERSION = 0.9.2
2021-09-25 05:13:14 -07:00
2021-11-19 03:58:54 -08:00
ANDROIDX_ANNOTATION_VERSION = 1.3.0
2022-02-08 04:34:20 -08:00
ANDROIDX_APPCOMPAT_VERSION = 1.4.1
ANDROIDX_CONSTRAINT_LAYOUT_VERSION = 2.1.3
2021-11-19 03:58:54 -08:00
ANDROIDX_CORE_VERSION = 1.7.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-04-04 08:01:03 -07:00
ANDROIDX_NAVIGATION_VERSION = 2.4.1
2021-09-25 06:44:31 -07:00
ANDROIDX_PAGING_VERSION = 2.1.2
2022-03-02 08:06:43 -08:00
ANDROIDX_ROOM_VERSION = 2.4.2
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
BIP39_VERSION = 1.0.2
COROUTINES_OKHTTP = 1.0
2022-04-04 08:01:03 -07:00
GOOGLE_MATERIAL_VERSION = 1.6.0-beta01
2022-04-04 07:54:34 -07:00
GRPC_VERSION = 1.45.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
2021-09-25 05:13:14 -07:00
JACOCO_VERSION = 0.8.7
2021-09-25 06:44:31 -07:00
JAVAX_ANNOTATION_VERSION = 1.3.2
2022-01-04 12:35:57 -08:00
JUNIT_VERSION = 5.8.2
2022-01-04 12:08:34 -08:00
KOTLINX_COROUTINES_VERSION = 1.6.0
2022-04-04 08:03:42 -07:00
KOTLIN_VERSION = 1.6.20
2021-09-25 06:44:31 -07:00
MOCKITO_KOTLIN_VERSION = 2.2.0
2022-04-04 08:03:04 -07:00
MOCKITO_VERSION = 4.4.0
2022-01-04 12:35:34 -08:00
OKHTTP_VERSION = 4.9.3
2021-11-19 04:01:54 -08:00
OKIO_VERSION = 3.0.0
2022-04-04 07:58:07 -07:00
PROTOC_VERSION = 3.20.0
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
ANDROID_JVM_TARGET = 1.8