File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -95,11 +95,15 @@ android {
9595 resValues = true
9696 }
9797
98- val gkdSigningConfig = signingConfigs.create(" gkd" ) {
99- storeFile = file(project.properties[" GKD_STORE_FILE" ] as String )
100- storePassword = project.properties[" GKD_STORE_PASSWORD" ].toString()
101- keyAlias = project.properties[" GKD_KEY_ALIAS" ].toString()
102- keyPassword = project.properties[" GKD_KEY_PASSWORD" ].toString()
98+ val gkdSigningConfig = if (project.hasProperty(" GKD_STORE_FILE" )) {
99+ signingConfigs.create(" gkd" ) {
100+ storeFile = file(project.properties[" GKD_STORE_FILE" ] as String )
101+ storePassword = project.findProperty(" GKD_STORE_PASSWORD" )?.toString()
102+ keyAlias = project.findProperty(" GKD_KEY_ALIAS" )?.toString()
103+ keyPassword = project.findProperty(" GKD_KEY_PASSWORD" )?.toString()
104+ }
105+ } else {
106+ signingConfigs.getByName(" debug" )
103107 }
104108
105109 val playSigningConfig = if (project.hasProperty(" PLAY_STORE_FILE" )) {
@@ -295,4 +299,4 @@ dependencies {
295299 compileOnly(libs.loc.annotation)
296300
297301 implementation(libs.kevinnzouWebview)
298- }
302+ }
You can’t perform that action at this time.
0 commit comments