49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
apply plugin: "kotlin"
|
|
apply plugin: 'org.jetbrains.dokka'
|
|
|
|
group = 'com.github.TangemCash'
|
|
version '0.1.0'
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation "com.madgag.spongycastle:core:1.56.0.0"
|
|
implementation "com.madgag.spongycastle:prov:1.56.0.0"
|
|
implementation 'net.i2p.crypto:eddsa:0.3.0'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
|
|
testImplementation "com.google.truth:truth:1.0"
|
|
}
|
|
|
|
sourceCompatibility = "8"
|
|
targetCompatibility = "8"
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.50'
|
|
ext.dokka_version = '0.10.0'
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
|
|
outputFormat = 'markdown'
|
|
}
|