Skip to content

Commit

Permalink
Trying to fix builds 1 (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Mar 9, 2022
1 parent 5690a7d commit c329c60
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,28 @@ android {
}
}

signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD

// Optional, specify signing versions used
v1SigningEnabled true
v2SigningEnabled true
if(project.hasProperty("RELEASE_STORE_FILE")) {
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD

// Optional, specify signing versions used
v1SigningEnabled true
v2SigningEnabled true
}
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
if(project.hasProperty("RELEASE_STORE_FILE")) {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
compileOptions {
Expand Down

0 comments on commit c329c60

Please sign in to comment.