[#271] Disable publishing of testnet
This commit is contained in:
parent
ee9e845322
commit
bb43d2f7a6
|
@ -37,9 +37,10 @@ android {
|
|||
|
||||
flavorDimensions.add("network")
|
||||
|
||||
val testNetFlavorName = "zcashtestnet"
|
||||
productFlavors {
|
||||
// would rather name them "testnet" and "mainnet" but product flavor names cannot start with the word "test"
|
||||
create("zcashtestnet") {
|
||||
create(testNetFlavorName) {
|
||||
dimension = "network"
|
||||
applicationId = "$packageName.testnet" // allow to be installed alongside mainnet
|
||||
matchingFallbacks.addAll(listOf("zcashtestnet", "debug"))
|
||||
|
@ -121,6 +122,12 @@ android {
|
|||
)
|
||||
)
|
||||
}
|
||||
|
||||
playConfigs {
|
||||
register(testNetFlavorName) {
|
||||
enabled.set(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in New Issue