Skip to content

Commit

Permalink
Update app build.gradle for bitrise
Browse files Browse the repository at this point in the history
  • Loading branch information
up2code committed Oct 26, 2019
1 parent ff1d604 commit 41735c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ android {

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias System.getenv("BITRISEIO_ANDROID_KEYSTORE_ALIAS")
keyPassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
storeFile file('release-key.keystore')
storePassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
}
}
buildTypes {
Expand Down
14 changes: 4 additions & 10 deletions assets/store/TouhouDB/android/app.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,10 @@ android {

signingConfigs {
release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']

// For BITRISE CICD
keyAlias "$System.env.BITRISEIO_ANDROID_KEYSTORE_ALIAS"
keyPassword "$System.env.BITRISEIO_ANDROID_KEYSTORE_PASSWORD"
storeFile file("$System.env.BITRISEIO_ANDROID_KEYSTORE_URL")
storePassword "$System.env.BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD"
keyAlias System.getenv("BITRISEIO_ANDROID_KEYSTORE_ALIAS")
keyPassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
storeFile file('release-key.keystore')
storePassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
}
}
buildTypes {
Expand Down
14 changes: 4 additions & 10 deletions assets/store/VocaDB/android/app.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,10 @@ android {

signingConfigs {
release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']

// For BITRISE CICD
keyAlias "$System.env.BITRISEIO_ANDROID_KEYSTORE_ALIAS"
keyPassword "$System.env.BITRISEIO_ANDROID_KEYSTORE_PASSWORD"
storeFile file("$System.env.BITRISEIO_ANDROID_KEYSTORE_URL")
storePassword "$System.env.BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD"
keyAlias System.getenv("BITRISEIO_ANDROID_KEYSTORE_ALIAS")
keyPassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
storeFile file('release-key.keystore')
storePassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
}
}
buildTypes {
Expand Down

0 comments on commit 41735c3

Please sign in to comment.