Skip to content

Commit

Permalink
feat: add build script for sparse resources
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Jul 23, 2023
1 parent 4a3007f commit a09e2ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ARSCTest/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

./gradlew assembleDebug

aapt2 optimize -o sparse.apk --enable-sparse-encoding app/build/outputs/apk/debug/app-debug.apk
cp app/build/outputs/apk/debug/app-debug.apk not-sparse.apk

0 comments on commit a09e2ca

Please sign in to comment.