2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

android: use correct build flavor

This commit is contained in:
Alibek Omarov 2024-11-20 06:56:58 +03:00
parent cd3dc78d4d
commit b63abe1cf2
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ android {
}
release {
isMinifyEnabled = false
isShrinkResources = false
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)

View File

@ -7,9 +7,9 @@ export PATH=$PATH:$JAVA_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$AN
pushd android
./gradlew assembleDebug
./gradlew assembleContinuous
pushd app/build/outputs/apk/debug
pushd app/build/outputs/apk/continuous
$ANDROID_HOME/build-tools/34.0.0/apksigner sign --ks $GITHUB_WORKSPACE/android/debug.keystore --ks-key-alias androiddebugkey \
--ks-pass pass:android --key-pass pass:android --out app-debug-signed.apk app-debug.apk