浏览代码

Update the `production` build argument for Android Studio debug builds

Swappy is required for `production` build which breaks the Android Studio debug builds as those turns on the `production` argument.
This commit updates the logic so that the `production` argument is only used by Android Studio for `release` builds.
Fredia Huya-Kouadio 11 月之前
父节点
当前提交
d699d4b7d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/android/java/lib/build.gradle

+ 1 - 1
platform/android/java/lib/build.gradle

@@ -106,8 +106,8 @@ android {
         boolean devBuild = buildType == "dev"
         boolean debugSymbols = devBuild
         boolean runTests = devBuild
-        boolean productionBuild = !devBuild
         boolean storeRelease = buildType == "release"
+        boolean productionBuild = storeRelease
 
         def sconsTarget = flavorName
         if (sconsTarget == "template") {