35 lines
815 B
Plaintext
35 lines
815 B
Plaintext
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 = "ru.mipt.npm"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://maven.pkg.jetbrains.space/public/p/space/maven")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains:space-sdk-jvm:159302-beta")
|
|
implementation("io.ktor:ktor-client-cio-jvm:2.3.1")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
|
|
implementation("ch.qos.logback:logback-classic:1.4.8")
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
|
|
application {
|
|
mainClass.set("ru.mipt.npm.space.documentextractor.MainKt")
|
|
} |