build: workaround issue with SDK not being available publicly

Bitrise could not build the application because it did not have access to our private SDK since the AAR is not hosted anywhere.
This commit is contained in:
Kevin Gorham 2018-12-10 13:07:28 -05:00
parent 40d8406800
commit 9692b9186c
4 changed files with 7 additions and 4 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@
*.ap_
# Built libraries
*.aar
#*.aar
# *.so
# Files for the ART/Dalvik VM

View File

@ -13,8 +13,8 @@ android {
applicationId "cash.z.android.wallet"
minSdkVersion buildConfig.minSdkVersion
targetSdkVersion buildConfig.targetSdkVersion
versionCode 14 // todo: change this to 1_00_04 format, once we graduate beyond zero for the major version number because leading zeros indicate on octal number.
versionName "0.2.1-alpha"
versionCode 16 // todo: change this to 1_00_04 format, once we graduate beyond zero for the major version number because leading zeros indicate on octal number.
versionName "0.2.3-alpha"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}

View File

@ -40,7 +40,7 @@ buildscript {
'material': 'com.google.android.material:material:1.0.0',
'speeddial': 'com.leinardi.android:speed-dial:2.0.0',
'zcash': [
'walletSdk': "cash.z.android.wallet:zcash-android-wallet-sdk:1.2.0"
'walletSdk': "cash.z.android.wallet:zcash-android-wallet-sdk:1.2.3@aar"
]
]
repositories {
@ -58,6 +58,9 @@ buildscript {
allprojects {
repositories {
mavenLocal()
flatDir {
dirs 'libs'
}
google()
jcenter()