aboutsummaryrefslogtreecommitdiff
path: root/build/android/app/build.gradle
diff options
context:
space:
mode:
authorMaksim <MoNTE48@mail.ua>2020-05-24 12:57:05 +0200
committerrubenwardy <rw@rubenwardy.com>2020-10-13 20:28:31 +0100
commite831ebd63bd8d173cc3ef10cb7d2ff2ed9f9090d (patch)
tree58f0c169cd146516f3160d4642706d9df0f32aa3 /build/android/app/build.gradle
parent05436fb551bb22b0a9c1d9f176a6891aa82d9cb2 (diff)
downloadminetest-e831ebd63bd8d173cc3ef10cb7d2ff2ed9f9090d.tar.gz
minetest-e831ebd63bd8d173cc3ef10cb7d2ff2ed9f9090d.tar.bz2
minetest-e831ebd63bd8d173cc3ef10cb7d2ff2ed9f9090d.zip
Android: add ci with saving artifacts
Diffstat (limited to 'build/android/app/build.gradle')
-rw-r--r--build/android/app/build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/android/app/build.gradle b/build/android/app/build.gradle
index 8e87424b5..2c0a02b7f 100644
--- a/build/android/app/build.gradle
+++ b/build/android/app/build.gradle
@@ -11,8 +11,11 @@ android {
versionCode project.versionCode
}
+ // load properties
Properties props = new Properties()
- props.load(new FileInputStream(file('../local.properties')))
+ def propfile = file('../local.properties')
+ if (propfile.exists())
+ props.load(new FileInputStream(propfile))
if (props.getProperty('keystore') != null) {
signingConfigs {