Sign releases.
diff --git a/.gitignore b/.gitignore
index aa8c2ea..b9c2907 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
.externalNativeBuild
.gradle
build
+gradle.properties
local.properties
MAVEN
diff --git a/app/build.gradle b/app/build.gradle
index 616da0b..880e29a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -37,4 +37,20 @@
output.versionCodeOverride = variant.versionCode + offset
}
}
+
+ if (project.hasProperty('release_storeFile')) {
+ signingConfigs {
+ release {
+ storeFile file(release_storeFile)
+ storePassword release_storePassword
+ keyAlias release_keyAlias
+ keyPassword release_keyPassword
+ }
+ }
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ }
+ }
+ }
}