kotlin-bip39/bip39-lib/build.gradle.kts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-04-21 05:16:24 -07:00
plugins {
id("org.jetbrains.kotlin.multiplatform")
2022-04-21 05:16:24 -07:00
id("java-library")
2022-04-21 07:16:42 -07:00
alias(libs.plugins.dokka)
alias(libs.plugins.publish)
2022-04-26 05:08:28 -07:00
id("bip39.kotlin-multiplatform-conventions")
id("bip39.dependency-conventions")
2022-04-21 05:16:24 -07:00
}
project.group = project.property("GROUP").toString()
val libraryVersion = project.property("VERSION_NAME").toString()
project.version = if (project.property("IS_SNAPSHOT").toString().toBoolean()) {
"$version-SNAPSHOT"
} else {
version
}
2022-04-21 05:16:24 -07:00
kotlin {
2022-04-26 05:08:28 -07:00
jvm {
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
sourceSets {
val commonMain by getting {
dependencies {
}
2022-04-21 07:37:58 -07:00
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val jvmMain by getting {
dependencies {
}
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(libs.kotest.runner)
implementation(libs.kotest.assertion)
implementation(libs.kotest.property)
implementation(libs.moshi.core)
implementation(libs.moshi.kotlin)
}
2022-04-21 07:37:58 -07:00
}
}
}