summaryrefslogtreecommitdiff
path: root/wallet
diff options
context:
space:
mode:
Diffstat (limited to 'wallet')
-rw-r--r--wallet/.gitlab-ci.yml1
-rw-r--r--wallet/README.md21
-rw-r--r--wallet/build.gradle2
3 files changed, 7 insertions, 17 deletions
diff --git a/wallet/.gitlab-ci.yml b/wallet/.gitlab-ci.yml
index 477acca..bbc478a 100644
--- a/wallet/.gitlab-ci.yml
+++ b/wallet/.gitlab-ci.yml
@@ -1,6 +1,5 @@
.binary_deps:
before_script:
- - wget "https://git.taler.net/wallet-android.git/plain/akono.aar?h=binary-deps" -O akono/akono.aar
- mkdir -p app/src/main/assets
- wget "https://git.taler.net/wallet-android.git/plain/taler-wallet-android.js?h=binary-deps" -O app/src/main/assets/taler-wallet-android.js
diff --git a/wallet/README.md b/wallet/README.md
index 63b128b..e4cee9c 100644
--- a/wallet/README.md
+++ b/wallet/README.md
@@ -1,40 +1,31 @@
-GNU Taler Wallet
-================
+# GNU Taler Wallet
This package implements a GNU Taler wallet for Android.
It is currently a UI for the wallet writen in TypeScript.
+## Building
-Building
-========
+Currently, building the wallet for Android requires manually copying a dependency:
-Currently, building the wallet for Android requires manually copying two
-dependencies:
-
-`akono.aar` -> `../akono/akono.aar`
`taler-wallet-android.js` -> `src/main/assets/taler-wallet-android.js`
After that, the Android wallet can be built with Gradle:
$ ./gradlew build
-
-Obtaining Dependencies
-======================
+## Obtaining Dependencies
There are two ways of obtaining the dependencies. The easiest one is
to use the pre-built versions, which are stored in the "binary-deps"
-branch of this repository.
+branch of the git://git.taler.net/wallet-android.git repository.
An easy way to access them is using a git worktree:
$ git fetch origin binary-deps
$ git worktree add binary-deps binary-deps
- $ cp binary-deps/akono.aar ../akono/akono.aar
$ cp binary-deps/taler-wallet-android.js src/main/assets/taler-wallet-android.js
$ git worktree remove binary-deps
-Alternatively, you can build them yourself from the respective repositories:
+Alternatively, you can build it yourself from the repository:
- * git://git.taler.net/akono.git
* git://git.taler.net/wallet-core.git
diff --git a/wallet/build.gradle b/wallet/build.gradle
index 3e8131a..3f9047e 100644
--- a/wallet/build.gradle
+++ b/wallet/build.gradle
@@ -57,8 +57,8 @@ android {
}
dependencies {
- implementation project(":akono")
implementation project(":taler-kotlin-common")
+ implementation 'net.taler:akono:0.1'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'