We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1114d58 commit 3bd2167Copy full SHA for 3bd2167
app/build.gradle
@@ -12,6 +12,27 @@ android {
12
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13
}
14
15
+ signingConfigs {
16
+ release {
17
+ //get signing properties file from command line
18
+ if (project.hasProperty('signPropsFile')) {
19
+ def propsFilePath = project.getProperty('signPropsFile')
20
+
21
+ def propsFile = new File(propsFilePath)
22
23
+ if (propsFile.canRead()) {
24
+ def props = new Properties()
25
+ props.load(new FileInputStream(propsFile))
26
27
+ storeFile = file(props['storeFile'])
28
+ storePassword = props['storePassword']
29
+ keyAlias = props['keyAlias']
30
+ keyPassword = props['keyPassword']
31
+ }
32
33
34
35
36
buildTypes {
37
release {
38
minifyEnabled false
0 commit comments