-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
35 lines (30 loc) · 1 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
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.ktor)
alias(libs.plugins.kotlin.plugin.serialization)
}
group = "com.jeluchu"
version = "5.0.0"
application {
mainClass.set("io.ktor.server.netty.EngineMain")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.bson)
implementation(libs.ktor.client.cio)
implementation(libs.logback.classic)
implementation(libs.ktor.client.core)
implementation(libs.ktor.server.core)
implementation(libs.ktor.server.netty)
implementation(libs.ktor.server.swagger)
implementation(libs.mongodb.driver.core)
implementation(libs.mongodb.driver.sync)
implementation(libs.ktor.server.config.yaml)
implementation(libs.ktor.server.status.pages)
implementation(libs.ktor.serialization.kotlinx.json)
implementation(libs.ktor.server.content.negotiation)
}