This commit is contained in:
Osman Faruk Bayram 2025-10-24 14:27:03 +03:00
parent 2104031ffc
commit ae2f8dc6c7
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ pkgs.stdenv.mkDerivation rec {
buildPhase = ''
gradle assemblePlayRelease --info -I ${gradle-init-script} \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease -x test -x *Test* \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease -x test \
-Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/35.0.0/aapt2 \
-Dfile.encoding=utf-8
'';

View file

@ -91,7 +91,7 @@
echo "To generate the verification-metadata.xml file:"
echo ""
echo " 1. cd /home/osbm/Documents/temp/ankidroid"
echo " 2. gradle -M sha256 assemblePlayRelease -x lint -x lintDebug -x lintRelease -x test -x *Test* -Dorg.gradle.project.android.aapt2FromMavenOverride=\$ANDROID_HOME/build-tools/35.0.0/aapt2"
echo " 2. gradle -M sha256 assemblePlayRelease -x lint -x lintDebug -x lintRelease -x test -Dorg.gradle.project.android.aapt2FromMavenOverride=\$ANDROID_HOME/build-tools/35.0.0/aapt2"
echo ""
echo "This will create gradle/verification-metadata.xml"
echo "Then copy it to the ankidroid package directory:"