mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
43 lines
1.5 KiB
Text
43 lines
1.5 KiB
Text
|
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"
|
||
|
}
|
||
|
|
||
|
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 {
|
||
|
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")
|
||
|
}
|