commit 74366f5cce2b1b35acff11cb8df7100083d7bbcc
parent dfa345defcf992099bab32730b8200ee26932f42
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:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md
@@ -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 \
@@ -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
```