converted to KMP sample/missing file
This commit is contained in:
parent
b0bc2e1744
commit
ef9239800a
49
kmp_console/build.gradle.kts
Normal file
49
kmp_console/build.gradle.kts
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
|
||||||
|
plugins {
|
||||||
|
kotlin("multiplatform") version "2.1.21"
|
||||||
|
}
|
||||||
|
|
||||||
|
group = "io.unitedgold"
|
||||||
|
version = "unspecified"
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven("https://maven.universablockchain.com/")
|
||||||
|
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
||||||
|
maven("https://gitea.sergeych.net/api/packages/YoungBlood/maven")
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvm {
|
||||||
|
binaries {
|
||||||
|
executable {
|
||||||
|
mainClass.set("io.unitedgold.samples.console.MainKt")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
linuxX64 {
|
||||||
|
binaries {
|
||||||
|
executable()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sourceSets {
|
||||||
|
val commonMain by getting {
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlin("stdlib-common"))
|
||||||
|
implementation("io.unitedgold.api:shared:0.1.2-SNAPSHOT")
|
||||||
|
implementation("ch.qos.logback:logback-classic:1.5.18")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
val commonTest by getting {
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlin("test"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
val linuxX64Main by getting {
|
||||||
|
dependencies {
|
||||||
|
// On desktop platforms you need to specify ktor client library to use:
|
||||||
|
implementation("io.ktor:ktor-client-curl:3.2.3")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user