improved build script

This commit is contained in:
Mariotaku Lee 2017-01-19 21:05:33 +08:00
parent 4c3757f1d2
commit f8c65e0269
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -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'))