Skip to content

Commit 3b50041

Browse files
committed
Update AppBuilderHelper.cs
1 parent e31145b commit 3b50041

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/gha/integration_testing/AppBuilderHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ private static void BuildAndroid() {
224224
#if UNITY_2020_1_OR_NEWER
225225
PlayerSettings.Android.minifyDebug = true;
226226
PlayerSettings.Android.minifyRelease = true;
227+
#if !UNITY_2021_1_OR_NEWER
227228
PlayerSettings.Android.minifyWithR8 = false;
229+
#else
228230
#elif UNITY_2017_1_OR_NEWER
229231
EditorUserBuildSettings.androidReleaseMinification = AndroidMinification.Proguard;
230232
EditorUserBuildSettings.androidDebugMinification = AndroidMinification.Proguard;

0 commit comments

Comments
 (0)