summaryrefslogtreecommitdiffstats
path: root/platform/android/java/app/config.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/java/app/config.gradle')
-rw-r--r--platform/android/java/app/config.gradle24
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/android/java/app/config.gradle b/platform/android/java/app/config.gradle
index eb9ad9de05..597a4d5c14 100644
--- a/platform/android/java/app/config.gradle
+++ b/platform/android/java/app/config.gradle
@@ -224,6 +224,30 @@ ext.getExportFilename = {
return exportFilename
}
+ext.getExportEdition = {
+ String exportEdition = project.hasProperty("export_edition") ? project.property("export_edition") : ""
+ if (exportEdition == null || exportEdition.isEmpty()) {
+ exportEdition = "standard"
+ }
+ return exportEdition
+}
+
+ext.getExportBuildType = {
+ String exportBuildType = project.hasProperty("export_build_type") ? project.property("export_build_type") : ""
+ if (exportBuildType == null || exportBuildType.isEmpty()) {
+ exportBuildType = "debug"
+ }
+ return exportBuildType
+}
+
+ext.getExportFormat = {
+ String exportFormat = project.hasProperty("export_format") ? project.property("export_format") : ""
+ if (exportFormat == null || exportFormat.isEmpty()) {
+ exportFormat = "apk"
+ }
+ return exportFormat
+}
+
/**
* Parse the project properties for the 'plugins_maven_repos' property and return the list
* of maven repos.