Files
LMS-APIs/build.gradle.kts
2025-08-11 16:33:40 -04:00

43 lines
1.4 KiB
Plaintext

val h2_version: String by project
val kotlin_version: String by project
val logback_version: String by project
val postgres_version: String by project
plugins {
kotlin("jvm") version "2.1.10"
id("io.ktor.plugin") version "3.2.2"
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.10"
}
group = "codes.kalar"
version = "0.0.1"
application {
mainClass = "io.ktor.server.netty.EngineMain"
}
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-server-default-headers")
implementation("io.ktor:ktor-server-core")
implementation("io.ktor:ktor-server-swagger")
implementation("io.ktor:ktor-server-cors")
implementation("io.ktor:ktor-server-auth")
implementation("io.ktor:ktor-server-auth-jwt")
implementation("io.ktor:ktor-server-content-negotiation")
implementation("io.ktor:ktor-serialization-kotlinx-json")
implementation("org.postgresql:postgresql:$postgres_version")
implementation("com.h2database:h2:$h2_version")
implementation("io.ktor:ktor-server-netty")
implementation("ch.qos.logback:logback-classic:$logback_version")
implementation("io.ktor:ktor-server-config-yaml")
implementation("com.google.cloud:google-cloud-secretmanager:2.68.0")
testImplementation("io.ktor:ktor-server-test-host")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
}