[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-android] 01/05: [wallet] prepare specifying wallet-core lib
From: |
gnunet |
Subject: |
[taler-taler-android] 01/05: [wallet] prepare specifying wallet-core library version |
Date: |
Mon, 13 Apr 2020 20:45:54 +0200 |
This is an automated email from the git hooks/post-receive script.
torsten-grote pushed a commit to branch master
in repository taler-android.
commit 02a4a056fd8255ac8e3147822f842ed8c49a1674
Author: Torsten Grote <address@hidden>
AuthorDate: Mon Apr 13 11:29:49 2020 -0300
[wallet] prepare specifying wallet-core library version
---
wallet/build.gradle | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/wallet/build.gradle b/wallet/build.gradle
index 0a4ad69..3d51477 100644
--- a/wallet/build.gradle
+++ b/wallet/build.gradle
@@ -23,6 +23,8 @@ plugins {
id "de.undercouch.download"
}
+def walletCoreVersion = "taler-wallet-android.js"
+
android {
compileSdkVersion 29
//noinspection GradleDependency
@@ -90,11 +92,10 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
-def walletLibraryDir = 'src/main/assets'
-def walletLibraryFile = walletLibraryDir + '/taler-wallet-android.js'
+def walletLibraryDir = "src/main/assets"
task downloadWalletLibrary(type: Download) {
- src
"https://git.taler.net/wallet-android.git/plain/taler-wallet-android.js?h=binary-deps"
- dest walletLibraryFile
+ src
"https://git.taler.net/wallet-android.git/plain/${walletCoreVersion}?h=binary-deps"
+ dest "${walletLibraryDir}/taler-wallet-android.js"
onlyIfModified true
doFirst {
new File(walletLibraryDir).mkdirs()
--
To stop receiving notification emails like this one, please contact
address@hidden.