tandroid build: persist gradle datadir - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 74366f5cce2b1b35acff11cb8df7100083d7bbcc DIR parent dfa345defcf992099bab32730b8200ee26932f42 HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 2 Sep 2019 17:32:48 +0200 android build: persist gradle datadir avoids re-downloading hundreds of MB of data on every run Diffstat: M electrum/gui/kivy/Readme.md | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md t@@ -42,9 +42,11 @@ folder. 5. Build binaries ``` + $ mkdir --parents $PWD/.buildozer/.gradle $ sudo docker run -it --rm \ --name electrum-android-builder-cont \ -v $PWD:/home/user/wspace/electrum \ + -v $PWD/.buildozer/.gradle:/home/user/.gradle \ -v ~/.keystore:/home/user/.keystore \ --workdir /home/user/wspace/electrum \ electrum-android-builder-img \ t@@ -76,6 +78,7 @@ $ adb shell monkey -p org.electrum.electrum 1 ``` $ sudo docker run -it --rm \ -v $PWD:/home/user/wspace/electrum \ + -v $PWD/.buildozer/.gradle:/home/user/.gradle \ --workdir /home/user/wspace/electrum \ electrum-android-builder-img ```