diff --git a/prod_build/android/essentials/key/creds.conf b/prod_build/android/essentials/key/creds.conf deleted file mode 120000 index 1a2c7b5a1be06fbc5e833bcf4f1f9650c5134a6a..0000000000000000000000000000000000000000 --- a/prod_build/android/essentials/key/creds.conf +++ /dev/null @@ -1 +0,0 @@ -papizh-key/creds.conf \ No newline at end of file diff --git a/prod_build/android/essentials/key/papizh-key/creds.conf b/prod_build/android/essentials/key/papizh-key/creds.conf deleted file mode 100644 index 73848ff2bed7f49b6a6d54c8f09c3960a5e2b986..0000000000000000000000000000000000000000 --- a/prod_build/android/essentials/key/papizh-key/creds.conf +++ /dev/null @@ -1,2 +0,0 @@ -export ALIAS=pconst -export PASS=B0yc3-K0dd diff --git a/prod_build/android/essentials/key/papizh-key/release-key.jks b/prod_build/android/essentials/key/papizh-key/release-key.jks deleted file mode 100644 index ef51c3a7812997e8616808daf41710720f11764d..0000000000000000000000000000000000000000 Binary files a/prod_build/android/essentials/key/papizh-key/release-key.jks and /dev/null differ diff --git a/prod_build/android/essentials/key/release-key.jks b/prod_build/android/essentials/key/release-key.jks deleted file mode 120000 index 94da3eccf08b5d252077fdc856917f782ede3e98..0000000000000000000000000000000000000000 --- a/prod_build/android/essentials/key/release-key.jks +++ /dev/null @@ -1 +0,0 @@ -papizh-key/release-key.jks \ No newline at end of file diff --git a/prod_build/android/scripts/build.sh b/prod_build/android/scripts/build.sh deleted file mode 100755 index 497d2cb04c21766635dc0048c4c1d2fc8ca977c2..0000000000000000000000000000000000000000 --- a/prod_build/android/scripts/build.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -. ./prod_build/general/pre-build.sh -export_variables "./prod_build/android/conf/*" - -#read_conf. -#src_path=$workdir/resources/SAP/sapnet-client -#WORK_PATH=$wd/resources/SAP/sapnet-client-build -SRC_DIR=$(pwd) -RES_PATH=${SRC_DIR}/$RES_PATH -exitcode=0 - -echo "DexGuard tuning" -[ -f "$RES_PATH/gradle.properties" ] || { echo "systemProp.dexguard.license=/usr/local/etc/dexguard-license.txt" >> $RES_PATH/gradle.properties && echo "enableDexGuard=true" >> $RES_PATH/gradle.properties ; } -sed -i '/flatDir/s/'"'"'.*'"'"' }/'"'"'\/opt\/DexGuard\/DexGuard-8.2.12\/lib'"'"' }/' $RES_PATH/build.gradle -mkdir -p $SRC_DIR/build/apk - - -BRAND=`cat *.pro | grep "BRAND " | rev | cut -d " " -f1 | rev` -echo "extracting version" -VERSION=$(extract_version_number) -echo "version number is $VERSION" -. prod_build/android/essentials/key/creds.conf - -mkdir -p $WORK_PATH -cd $WORK_PATH -rm -rf * -APK_PATH=android/build/outputs/apk -echo "arch-versions are $ARCH_VERSIONS" -IFS=" " -for arch in $ARCH_VERSIONS; do - mkdir -p $arch - cd $arch - export QT_SELECT=$arch - ANDRQT_HOME=/usr/lib/crossdev/android-$arch/*/bin - $ANDRQT_HOME/qmake -r -spec android-g++ CONFIG+=release CONFIG+=qml_release BRAND=$BRAND BRAND_TARGET=$BRAND $SRC_DIR/*.pro && \ - $ANDROID_NDK_HOME/prebuilt/$NDKHOST/bin/make -j3 && \ - $ANDROID_NDK_HOME/prebuilt/$NDKHOST/bin/make install INSTALL_ROOT=$(pwd)/android && \ - echo "Deploying in " && pwd && $ANDRQT_HOME/androiddeployqt --output android --verbose --input SapNetGui/*.json --sign $SRC_DIR/prod_build/android/essentials/key/release-key.jks $ALIAS --storepass $PASS --jdk $JAVA_HOME --gradle && \ - mv -v $(pwd)/$APK_PATH/android-release-signed.apk $SRC_DIR/build/apk/"$BRAND-${VERSION}_$arch.apk" || \ - exitcode=$? - cd .. - if [[ $exitcode != 0 ]]; then - echo "Build failed with exit code $exitcode" - cd $workdir - exit $exitcode - fi -done - -cd $workdir