Update project dependencies.

This commit is contained in:
Kevin Gorham 2021-04-09 22:05:33 -04:00
parent 160a95738f
commit 22425d756e
No known key found for this signature in database
GPG Key ID: CCA55602DF49FC38
3 changed files with 10 additions and 11 deletions

View File

@ -187,11 +187,10 @@ cargo {
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
implementation 'androidx.appcompat:appcompat:1.3.0-rc01'
// Architecture Components: Lifecycle
implementation "androidx.lifecycle:lifecycle-runtime:${config.versions.architectureComponents.lifecycle}"
implementation "androidx.lifecycle:lifecycle-extensions:${config.versions.architectureComponents.lifecycle}"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:${config.versions.architectureComponents.lifecycle}"
implementation "androidx.lifecycle:lifecycle-common-java8:${config.versions.architectureComponents.lifecycle}"
// Architecture Components: Room
@ -223,8 +222,8 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
// OKIO is a transitive dependency used when writing param files to disk. Like GSON, this can be
// replaced if needed. For compatibility, we match the library version used in grpc-okhttp:
// https://github.com/grpc/grpc-java/blob/v1.34.x/build.gradle#L154
implementation 'com.squareup.okio:okio:1.13.0'
// https://github.com/grpc/grpc-java/blob/v1.37.x/build.gradle#L159
implementation 'com.squareup.okio:okio:1.17.5'
// Tests
testImplementation 'androidx.multidex:multidex:2.0.1'
@ -247,8 +246,9 @@ dependencies {
androidTestImplementation "androidx.arch.core:core-testing:2.1.0"
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation "com.squareup.okhttp3:okhttp:3.8.0"
androidTestImplementation 'ru.gildor.coroutines:kotlin-coroutines-okhttp:1.0'
// used by 'ru.gildor.coroutines.okhttp.await' (to make simple suspended requests) and breaks on versions higher than 3.8.0
androidTestImplementation "com.squareup.okhttp3:okhttp:3.8.0"
// sample mnemonic plugin
androidTestImplementation 'com.github.zcash:zcash-android-wallet-plugins:1.0.1'

View File

@ -7,13 +7,14 @@ compileSdkVersion = 30
minSdkVersion = 16
targetSdkVersion = 30
// find stable version updates here: https://developer.android.com/jetpack/androidx/versions/stable-channel
versions {
architectureComponents {
lifecycle = '2.2.0'
room = '2.2.5'
lifecycle = '2.3.1'
room = '2.2.6'
paging = '2.1.2'
}
grpc = '1.34.1'
grpc = '1.37.0'
coroutines = '1.4.2'
junitJupiter = '5.6.1'
kotlin = '1.4.31'

View File

@ -1,7 +1,5 @@
package cash.z.ecc.android.sdk.ext
import cash.z.ecc.android.sdk.type.ZcashNetwork
/**
* Wrapper for all the constant values in the SDK. It is important that these values stay fixed for
* all users of the SDK. Otherwise, if individual wallet makers are using different values, it