Kekkai/build.gradle.kts

46 lines
1.6 KiB
Text
Raw Normal View History

2024-04-17 17:57:52 +03:00
val ktor_version: String by project
val kotlin_version: String by project
val logback_version: String by project
val postgresql_driver_version: String by project
val exposed_version: String by project
val hikaricp_version: String by project
val jbcrypt_version: String by project
val redis_version: String by project
plugins {
kotlin("jvm") version "1.9.23"
id("io.ktor.plugin") version "2.3.10"
2024-04-18 21:20:58 +03:00
kotlin("plugin.serialization") version "1.9.23"
2024-04-17 17:57:52 +03:00
}
group = "su.redume"
version = "0.0.1"
application {
mainClass.set("su.redume.ApplicationKt")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
}
dependencies {
2024-04-18 21:20:58 +03:00
implementation("io.ktor:ktor-server-config-yaml")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
2024-04-17 17:57:52 +03:00
implementation("io.ktor:ktor-server-core-jvm")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("ch.qos.logback:logback-classic:$logback_version")
testImplementation("io.ktor:ktor-server-tests-jvm")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
implementation("org.postgresql:postgresql:$postgresql_driver_version")
implementation("org.jetbrains.exposed:exposed-core:$exposed_version")
implementation("org.jetbrains.exposed:exposed-dao:$exposed_version")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposed_version")
implementation("com.zaxxer:HikariCP:$hikaricp_version")
implementation("org.mindrot:jbcrypt:$jbcrypt_version")
implementation("io.github.crackthecodeabhi:kreds:$redis_version")
}