disable tests

This commit is contained in:
Osman Faruk Bayram 2025-10-24 14:04:41 +03:00
parent 413be59440
commit 2104031ffc
2 changed files with 3 additions and 3 deletions

View file

@ -60,8 +60,8 @@ pkgs.stdenv.mkDerivation rec {
'';
buildPhase = ''
gradle assembleRelease --info -I ${gradle-init-script} \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease \
gradle assemblePlayRelease --info -I ${gradle-init-script} \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease -x test -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 assembleRelease -x lint -x lintDebug -x lintRelease -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 -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:"