Remove unused GE_NO_APK_BUILD variable

This variable is always empty and we don't need to support not building the APK file.
This commit is contained in:
Robert Müller 2024-05-11 18:26:39 +02:00
parent 930836f349
commit 69102880c9

View file

@ -54,7 +54,6 @@ if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then
sed -i "s/android.enableR8.fullMode=true/android.enableR8.fullMode=false/g" gradle.properties sed -i "s/android.enableR8.fullMode=true/android.enableR8.fullMode=false/g" gradle.properties
fi fi
if [[ -z ${GE_NO_APK_BUILD} || "${GE_NO_APK_BUILD}" != "1" ]]; then
_RELEASE_TYPE_NAME=debug _RELEASE_TYPE_NAME=debug
_RELEASE_TYPE_APK_NAME= _RELEASE_TYPE_APK_NAME=
if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then if [[ "${_APK_BUILD_TYPE}" == "Debug" ]]; then
@ -80,7 +79,5 @@ if [[ -z ${GE_NO_APK_BUILD} || "${GE_NO_APK_BUILD}" != "1" ]]; then
if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then if [[ "${_APK_BUILD_TYPE}" == "Release" ]]; then
java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all bundleRelease java "-Dorg.gradle.appname=${APP_BASE_NAME}" -classpath "${CLASSPATH}" org.gradle.wrapper.GradleWrapperMain --warning-mode all bundleRelease
cp build/outputs/bundle/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME""$_RELEASE_TYPE_APK_NAME".aab "$_APK_BASENAME".aab cp build/outputs/bundle/"$_RELEASE_TYPE_NAME"/"$_APK_BASENAME"-"$_RELEASE_TYPE_NAME""$_RELEASE_TYPE_APK_NAME".aab "$_APK_BASENAME".aab
fi fi
fi