Merge pull request #40 from zcash/rust-features
Configure mainnet SDK flavours to use mainnet Rust feature flag
This commit is contained in:
commit
856e5523b6
12
build.gradle
12
build.gradle
|
@ -30,7 +30,7 @@ buildscript {
|
|||
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
||||
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.8"
|
||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6'
|
||||
classpath 'com.github.str4d:rust-android-gradle:a7847cd48d'
|
||||
classpath 'com.github.str4d:rust-android-gradle:68b4ecc053'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -169,6 +169,16 @@ cargo {
|
|||
]
|
||||
profile = "release"
|
||||
forceTargets = true
|
||||
|
||||
variants {
|
||||
zcashmainnetDebug {
|
||||
defaultFeaturesAnd("mainnet")
|
||||
}
|
||||
|
||||
zcashmainnetRelease {
|
||||
defaultFeaturesAnd("mainnet")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in New Issue