File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,16 @@ plugins {
66android {
77 signingConfigs {
88 ' default' {
9- Properties keystoreProps = new Properties ()
10- keystoreProps. load(new FileInputStream (file(' keystore.config' )))
9+ File keystoreConfigFile = file(' keystore.config' )
10+ if (keystoreConfigFile. exists()) {
11+ Properties keystoreProps = new Properties ()
12+ keystoreProps. load(new FileInputStream (file(' keystore.config' )))
1113
12- keyAlias keystoreProps[' keyAlias' ]
13- keyPassword keystoreProps[' keyPassword' ]
14- storePassword keystoreProps[' storePassword' ]
15- storeFile file(keystoreProps[' storePath' ])
14+ keyAlias keystoreProps[' keyAlias' ]
15+ keyPassword keystoreProps[' keyPassword' ]
16+ storePassword keystoreProps[' storePassword' ]
17+ storeFile file(keystoreProps[' storePath' ])
18+ }
1619 }
1720 }
1821
You can’t perform that action at this time.
0 commit comments