Updated on 2026-08-14

This commit is contained in:
Tangem 2019-04-01 15:17:05 +03:00
parent 8cf838223f
commit 300b38450e
7 changed files with 21 additions and 48 deletions

2
.idea/gradle.xml generated
View file

@ -11,7 +11,7 @@
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/card-android" />
<option value="$PROJECT_DIR$/card-common" />
<option value="$PROJECT_DIR$/ripple-core-0.0.1" />
<option value="$PROJECT_DIR$/ripple-core" />
<option value="$PROJECT_DIR$/server-android" />
</set>
</option>

View file

@ -47,7 +47,14 @@ dependencies {
implementation project(':card-common')
implementation project(':card-android')
implementation project(':server-android')
implementation project(':ripple-core-0.0.1')
implementation project(':ripple-core')
//for ripple-core TODO: move to ripple-core?
implementation 'net.i2p.crypto:eddsa:0.2.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
//noinspection DuplicatePlatformClasses
implementation 'org.json:json:20171018'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.3'
// implementation 'com.github.TangemCash:card-common:0.1.2'
// implementation 'com.github.TangemCash:card-android:0.1.3'

View file

@ -1,5 +1,6 @@
package com.tangem.domain.wallet.xrp;
import com.ripple.core.types.known.tx.txns.Payment;
public class XrpPayment extends Payment {

View file

@ -1,52 +1,15 @@
apply plugin: 'java'
apply plugin: 'kotlin'
configurations.maybeCreate("default")
artifacts.add("default", file('ripple-core-0.0.1-SNAPSHOT.jar'))
description = 'ripple-core'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'java-library'
apply plugin: 'com.github.dcendents.android-maven'
dependencies {
compile 'net.i2p.crypto:eddsa:0.2.0'
compile 'org.bouncycastle:bcprov-jdk15on:1.58'
compile 'org.json:json:20171018'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.3'
testCompile 'junit:junit:4.12'
testCompile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.5"
}
buildscript {
ext.kotlin_version = '1.3.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
implementation 'net.i2p.crypto:eddsa:0.2.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
implementation 'org.json:json:20171018'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.3'
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
task getDeps(type: Copy) {
from configurations.compile
into "$rootDir/jars/"
}
kotlin {
experimental {
coroutines "enable"
}
}

2
ripple-core/build.gradle Normal file
View file

@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('ripple-core-0.0.1-SNAPSHOT.jar'))

Binary file not shown.

View file

@ -1 +1 @@
include ':app', ':card-android', ':server-android', ':card-common', ':ripple-core-0.0.1'
include ':app', ':card-android', ':server-android', ':card-common', ':ripple-core'