From 4d487a8da2326087f1f1c7b9b9d037e1e484b013 Mon Sep 17 00:00:00 2001 From: subbotin Date: Wed, 2 Mar 2022 15:47:31 +0400 Subject: [PATCH] Build DMG image for SDK #82 (#84) --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 8013085..dcbf576 100644 --- a/build.gradle +++ b/build.gradle @@ -76,10 +76,10 @@ if (project.hasProperty('targetOsPlatform')) { ext.targetOsPlatform = project['targetOsPlatform'] } -ext.bundlePlatform = '-' + ext.targetOsPlatform; +ext.bundlePlatform = ext.targetOsPlatform ? "-" + ext.targetOsPlatform : "" -ext.bundleOutput = file("${rootProject.buildDir}/bundle" + rootProject["bundlePlatform"]) -ext.nativeBundle = file("${ext.bundleOutput}/native" + rootProject["bundlePlatform"]) +ext.bundleOutput = file("${rootProject.buildDir}/bundle" + ext.bundlePlatform) +ext.nativeBundle = file("${ext.bundleOutput}/native" + ext.bundlePlatform) def buildVersion = rootProject.hasProperty('buildVersion') ? rootProject['buildVersion'] : '1.0-SNAPSHOT' allprojects {