Optimize build scripts

- rewrite the"exportDex" task group
- move  the logic of deleting temporary files into a gradle script
- fix "APPCENTER_KEY" property defining while debug building
This commit is contained in:
Vologhat
2023-06-27 16:42:07 +03:00
parent 3cc81dfddc
commit ea0a0f1d93
3 changed files with 41 additions and 72 deletions
-3
View File
@@ -22,9 +22,6 @@ if "%ERRORLEVEL%" == "0" (
echo %ESC%[31mFailed%ESC%[0m
exit /B 1
)
del classes6.dex
del classes7.dex
del assets\version.properties
echo.
echo %ESC%[1;4mSign apk...%ESC%[0m
+1 -5
View File
@@ -33,8 +33,4 @@ cd ../scripts
./apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass pass:android ../scripts/VTLite.apk
check_result
echo -e "${BOLD}VTosters Lite успешно собран! APK находится в папке scripts${NC}"
cd ../smali
rm classes6.dex
rm classes7.dex
echo -e "${BOLD}VTosters Lite успешно собран! APK находится в папке scripts${NC}"