49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
|
|
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.2.1-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")
|
|
}
|
|
}
|
|
}
|
|
} |