import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.8.22" application id("com.github.johnrengelman.shadow") version "8.1.1" } group = "center.sciprog" version = "1.0-SNAPSHOT" repositories { mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/space/maven") } val ktorVersion = "2.3.1" dependencies { implementation("org.jetbrains:space-sdk-jvm:163093-beta") implementation("io.ktor:ktor-client-cio-jvm:$ktorVersion") implementation("io.ktor:ktor-server-core-jvm:$ktorVersion") implementation("io.ktor:ktor-server-cio-jvm:$ktorVersion") implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5") implementation("ch.qos.logback:logback-classic:1.4.8") testImplementation(kotlin("test")) } tasks.test { useJUnitPlatform() } kotlin { jvmToolchain(11) } application { mainClass.set("center.sciprog.space.documentextractor.MainKt") } tasks.withType{ archiveClassifier.set("") archiveVersion.set("") }