This repository was archived by the owner on Jan 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,22 @@ def gitSha() {
1313}
1414
1515android {
16+ def signingPropFile = new File (System . properties[' user.home' ], " .signing/reddit-android-appstore/signing.properties" )
17+ if (signingPropFile. canRead()) {
18+ def Properties signingProps = new Properties ()
19+ signingProps. load(new FileInputStream (signingPropFile))
20+ signingConfigs {
21+ release {
22+ storeFile new File (signingProps[' release.storePath' ])
23+ keyAlias signingProps[' release.keyAlias' ]
24+ storePassword signingProps[' release.storePassword' ]
25+ keyPassword signingProps[' release.keyPassword' ]
26+ }
27+ }
28+ }
29+
1630 compileSdkVersion 25
17- buildToolsVersion " 25.0.2 "
31+ buildToolsVersion " 25.0.3 "
1832
1933 def versionMajor = 0
2034 def versionMinor = 7
@@ -40,6 +54,7 @@ android {
4054 testProguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
4155 }
4256 release {
57+ signingConfig signingConfigs. release
4358 minifyEnabled false
4459 useProguard false
4560 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
You can’t perform that action at this time.
0 commit comments