Skip to content

Commit

Permalink
Add a config to automatically sign releases
Browse files Browse the repository at this point in the history
  • Loading branch information
CNugteren committed Feb 28, 2024
1 parent 0f53849 commit c72bd62
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@ android {
jvmTarget = '17'
}

// From https://stackoverflow.com/a/21020469
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 {
signingConfig signingConfigs.release
}
}

namespace 'foss.cnugteren.nlweer'
}

Expand Down

0 comments on commit c72bd62

Please sign in to comment.