From: Christian Weiske Date: Fri, 3 Jun 2022 18:57:03 +0000 (+0200) Subject: Load "signingconfigfile" if it has been defined in gradle.properties X-Git-Tag: v1.0.0~8 X-Git-Url: https://git.cweiske.de/louyapi.git/commitdiff_plain/d2c5370f7d8a7f9ac622a0fcf6b2d7e8f25360f9 Load "signingconfigfile" if it has been defined in gradle.properties --- diff --git a/build.gradle b/build.gradle index ec8dcb7..b66821d 100644 --- a/build.gradle +++ b/build.gradle @@ -32,3 +32,8 @@ android { } compileSdkVersion 16 } + +if (project.hasProperty("signingconfigfile") + && new File(project.property("signingconfigfile")).exists()) { + apply from: project.property("signingconfigfile"); +}