-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (33 loc) · 863 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id 'application'
id("io.ktor.plugin") version "2.2.3"
}
group = 'org.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation("com.varabyte.kotter:kotter-jvm:1.1.2")
// implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.6")
implementation("com.github.ajalt.mordant:mordant:2.7.2")
// optional extensions for running animations with coroutines
implementation("com.github.ajalt.mordant:mordant-coroutines:2.7.1")
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation("com.varabyte.kotterx:kotter-test-support-jvm:1.1.2")
}
test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
application {
mainClass.set("MainKt")
}
ktor {
fatJar {
archiveFileName.set("app.jar")
}
}