From ef9239800aaf26eed19b97e1e521bc55f083af0b Mon Sep 17 00:00:00 2001 From: sergeych Date: Wed, 17 Sep 2025 05:21:22 +0400 Subject: [PATCH] converted to KMP sample/missing file --- kmp_console/build.gradle.kts | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 kmp_console/build.gradle.kts diff --git a/kmp_console/build.gradle.kts b/kmp_console/build.gradle.kts new file mode 100644 index 0000000..6467a89 --- /dev/null +++ b/kmp_console/build.gradle.kts @@ -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") + } + } + } +} \ No newline at end of file