space-export/build.gradle.kts

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-06-20 18:07:29 +03:00
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2021-12-26 15:28:53 +03:00
plugins {
2023-06-16 11:23:04 +03:00
kotlin("jvm") version "1.8.22"
2021-12-26 15:28:53 +03:00
application
2023-06-19 19:54:50 +03:00
id("com.github.johnrengelman.shadow") version "8.1.1"
2021-12-26 15:28:53 +03:00
}
2023-07-03 10:03:36 +03:00
group = "center.sciprog"
2021-12-26 15:28:53 +03:00
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/space/maven")
}
2023-09-01 19:00:31 +03:00
val ktorVersion = "2.3.4"
2023-07-03 10:03:36 +03:00
2021-12-26 15:28:53 +03:00
dependencies {
2023-08-21 20:32:40 +03:00
implementation("org.jetbrains:space-sdk-jvm:167818-beta")
2023-07-03 10:03:36 +03:00
implementation("io.ktor:ktor-client-cio-jvm:$ktorVersion")
implementation("io.ktor:ktor-server-core-jvm:$ktorVersion")
implementation("io.ktor:ktor-server-cio-jvm:$ktorVersion")
2023-06-16 11:23:04 +03:00
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
implementation("ch.qos.logback:logback-classic:1.4.8")
2023-08-21 20:32:40 +03:00
implementation("org.eclipse.jgit:org.eclipse.jgit:6.6.0.202305301015-r")
2021-12-26 15:28:53 +03:00
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
2023-06-20 18:07:29 +03:00
kotlin {
jvmToolchain(11)
2021-12-26 15:28:53 +03:00
}
application {
2023-07-03 10:03:36 +03:00
mainClass.set("center.sciprog.space.documentextractor.MainKt")
2023-06-20 18:07:29 +03:00
}
tasks.withType<ShadowJar>{
archiveClassifier.set("")
archiveVersion.set("")
2021-12-26 15:28:53 +03:00
}