Updated on 2026-08-14

This commit is contained in:
Tangem 2019-04-01 13:08:55 +03:00
parent 6fd0284a58
commit 8cf838223f

View file

@ -1,2 +1,52 @@
configurations.maybeCreate("default")
artifacts.add("default", file('ripple-core-0.0.1-SNAPSHOT.jar'))
apply plugin: 'java'
apply plugin: 'kotlin'
description = 'ripple-core'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
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"
}
}
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"
}
}