-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
58 lines (48 loc) · 2.06 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
val ktor_version: String by project
val kotlin_version: String by project
val logback_version: String by project
val hikaricp_version: String by project
val ehcache_version: String by project
val kmongo_version: String by project
val ktorm_version: String by project
val postgresql_driver_version: String by project
plugins {
kotlin("jvm") version "1.9.23"
id("io.ktor.plugin") version "2.3.9"
kotlin("plugin.serialization") version "1.9.22"
}
group = "me.nooneboss"
version = "0.0.1"
application {
mainClass.set("me.nooneboss.ApplicationKt")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
google()
maven ("https://jitpack.io")
}
dependencies {
implementation("com.google.code.gson:gson:2.9.0")
implementation("io.ktor:ktor-server-core-jvm")
implementation("io.ktor:ktor-server-auth-jvm")
implementation("io.ktor:ktor-server-auth-jwt-jvm")
implementation("io.ktor:ktor-server-content-negotiation-jvm")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("ch.qos.logback:logback-classic:$logback_version")
implementation("io.ktor:ktor-server-config-yaml:2.3.9")
implementation("io.ktor:ktor-network-tls-certificates:$ktor_version")
implementation("io.ktor:ktor-server-cors:$ktor_version")
implementation("com.zaxxer:HikariCP:$hikaricp_version")
implementation("org.ehcache:ehcache:$ehcache_version")
implementation("org.ktorm:ktorm-core:$ktorm_version")
implementation("org.ktorm:ktorm-support-postgresql:$ktorm_version")
implementation("org.postgresql:postgresql:$postgresql_driver_version")
implementation("com.github.haifengl:smile-core:3.1.0")
implementation("com.github.haifengl:smile-kotlin:3.1.0")
implementation("com.github.haifengl:smile-plot:3.1.0")
implementation("org.litote.kmongo:kmongo:$kmongo_version")
implementation("com.github.holgerbrandl:krangl:0.18.4")
}