Merge pull request #40 from zcash/rust-features

Configure mainnet SDK flavours to use mainnet Rust feature flag
This commit is contained in:
str4d 2019-08-02 09:01:19 +01:00 committed by GitHub
commit 856e5523b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -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 {