Skip to content

Commit 8f2babc

Browse files
committed
ci: Update keystore configuration
The keystore file, password, key alias, and key password are now read from environment variables if not found in local.properties. The default value for KEYSTORE_FILE is removed.
1 parent c1cc449 commit 8f2babc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def localPropertiesFile = rootProject.file("local.properties")
1616
if (localPropertiesFile.exists()) {
1717
localProperties.load(new FileInputStream(localPropertiesFile))
1818
} else {
19-
localProperties.setProperty("KEYSTORE_FILE", "keystore-qrbarcode.jks")
19+
localProperties.setProperty("KEYSTORE_FILE", System.getenv("KEYSTORE_FILE"))
2020
localProperties.setProperty("KEYSTORE_PASSWORD", System.getenv("KEYSTORE_PASSWORD"))
2121
localProperties.setProperty("KEY_ALIAS", System.getenv("KEY_ALIAS"))
2222
localProperties.setProperty("KEY_PASSWORD", System.getenv("KEY_PASSWORD"))

0 commit comments

Comments
 (0)