Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 46a4bd2

Browse files
Fix tests, again
Who even messed them up, anyway? *looks away* Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent f3d31ed commit 46a4bd2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ android {
1313
release {
1414
// Everything comes from local.properties
1515
Properties properties = new Properties()
16-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
17-
storeFile file(properties.getProperty('keystore.file'))
18-
storePassword properties.getProperty('keystore.password')
19-
keyAlias 'key0'
20-
keyPassword properties.getProperty('keystore.password')
16+
if (project.rootProject.file('local.properties').exists()) {
17+
properties.load(project.rootProject.file('local.properties').newDataInputStream())
18+
storeFile file(properties.getProperty('keystore.file'))
19+
storePassword properties.getProperty('keystore.password')
20+
keyAlias 'key0'
21+
keyPassword properties.getProperty('keystore.password')
22+
}
2123
}
2224
}
2325

0 commit comments

Comments
 (0)