From bb611284c1d9f0204ad0f5ae08cb03cc0294ec7c Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 3 Jun 2020 14:40:35 -0300 Subject: Add elliptic curve crypto to all platforms --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 7e06be1..b87f250 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,7 @@ plugins { } repositories { mavenCentral() + jcenter() } group 'net.taler' version '0.0.1' @@ -44,7 +45,10 @@ kotlin { androidMain { dependencies { implementation kotlin('stdlib-jdk8') - implementation 'org.bouncycastle:bcprov-jdk15on:1.65.01' + // TODO Android +// implementation "com.goterl.lazycode:lazysodium-android:4.1.1@aar" + implementation "com.goterl.lazycode:lazysodium-java:4.2.6" + implementation 'net.java.dev.jna:jna:5.5.0@aar' } } androidTest { @@ -57,6 +61,7 @@ kotlin { dependencies { implementation kotlin('stdlib-js') implementation npm('tweetnacl', '1.0.3') + implementation npm('ed2curve', '0.3.0') } } jsTest { -- cgit v1.2.3