-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (35 loc) · 942 Bytes
/
build.gradle.kts
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
42
plugins {
kotlin("jvm") version "1.9.21"
application
}
group = "info.skyblond"
version = System.getenv("release_tag") ?: "dev"
repositories {
mavenCentral()
}
dependencies {
// kotlin logging and logback
implementation("io.github.oshai:kotlin-logging-jvm:5.1.0")
implementation("ch.qos.logback:logback-classic:1.4.12")
// ktorm and sqlite
implementation("org.jetbrains.exposed:exposed-core:0.44.1")
implementation("org.jetbrains.exposed:exposed-jdbc:0.44.1")
implementation("org.xerial:sqlite-jdbc:3.44.0.0")
// cli things
implementation("com.github.ajalt.clikt:clikt:4.2.1")
// json
implementation("com.google.code.gson:gson:2.10.1")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
application {
mainClass.set("MainKt")
// executableDir = "usr/local/bin"
executableDir = ""
applicationName = "oam"
}