api_for_kids/build.gradle.kts
2024-12-18 19:41:45 +03:00

38 lines
1.1 KiB
Plaintext

plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.ktor)
alias(libs.plugins.kotlin.plugin.serialization)
}
group = "com.college"
version = "0.0.1"
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.ktor.server.core)
implementation(libs.ktor.serialization.kotlinx.json)
implementation(libs.ktor.server.content.negotiation)
implementation(libs.exposed.core)
implementation(libs.exposed.jdbc)
implementation("org.postgresql:postgresql:42.7.4")
implementation("io.ktor:ktor-server-config-yaml-jvm:3.0.2")
implementation(libs.ktor.server.swagger)
implementation(libs.ktor.server.resources)
implementation(libs.ktor.server.netty)
implementation(libs.logback.classic)
implementation(libs.ktor.server.config.yaml)
testImplementation(libs.ktor.server.test.host)
testImplementation(libs.kotlin.test.junit)
}