From f8c65e026970e8d48e5cfbe3f8693007caa3011d Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Thu, 19 Jan 2017 21:05:33 +0800 Subject: [PATCH] improved build script --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 198518dc8..20a489056 100644 --- a/build.gradle +++ b/build.gradle @@ -87,7 +87,7 @@ subprojects { def loadSigningConfig(def cfg, def file) { Properties signingProp = new Properties() signingProp.load(file.newInputStream()) - cfg.setStoreFile(new File((String) signingProp.get('storeFile'))) + cfg.setStoreFile(rootProject.file(signingProp.get('storeFile'))) cfg.setStorePassword((String) signingProp.get('storePassword')) cfg.setKeyAlias((String) signingProp.get('keyAlias')) cfg.setKeyPassword((String) signingProp.get('keyPassword'))