summaryrefslogtreecommitdiffstats
path: root/platform/android/java
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2024-10-30 21:15:31 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2024-10-30 21:15:31 -0700
commitd699d4b7d4933e941f55b564537d0b3d34f332ca (patch)
treef9438e3126a401617722c833df3d1ab3ed140b18 /platform/android/java
parent7187c251da3fabbfe1dbc87d2c33692bb6d9823b (diff)
downloadredot-engine-d699d4b7d4933e941f55b564537d0b3d34f332ca.tar.gz
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.
Diffstat (limited to 'platform/android/java')
-rw-r--r--platform/android/java/lib/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle
index f6aee434e5..f273105efc 100644
--- a/platform/android/java/lib/build.gradle
+++ b/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") {