💥 Nukes rust and replaces with kotlin
This commit is contained in:
43
backend/build.gradle.kts
Normal file
43
backend/build.gradle.kts
Normal file
@@ -0,0 +1,43 @@
|
||||
val exposed_version: String by project
|
||||
val h2_version: String by project
|
||||
val kotlin_version: String by project
|
||||
val logback_version: String by project
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.10"
|
||||
id("io.ktor.plugin") version "3.1.3"
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.10"
|
||||
}
|
||||
|
||||
group = "svitan.dev"
|
||||
version = "0.0.1"
|
||||
|
||||
application {
|
||||
mainClass = "svitan.dev.ApplicationKt"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("https://packages.confluent.io/maven/") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("io.ktor:ktor-server-cors")
|
||||
implementation("io.ktor:ktor-server-core")
|
||||
implementation("io.ktor:ktor-server-auth")
|
||||
implementation("io.ktor:ktor-server-request-validation")
|
||||
implementation("io.ktor:ktor-server-host-common")
|
||||
implementation("io.ktor:ktor-server-status-pages")
|
||||
implementation("io.ktor:ktor-server-call-logging")
|
||||
implementation("io.ktor:ktor-server-content-negotiation")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json")
|
||||
implementation("org.jetbrains.exposed:exposed-core:$exposed_version")
|
||||
implementation("org.jetbrains.exposed:exposed-jdbc:$exposed_version")
|
||||
implementation("com.h2database:h2:$h2_version")
|
||||
implementation("io.github.flaxoos:ktor-server-rate-limiting:2.2.1")
|
||||
implementation("io.ktor:ktor-server-compression")
|
||||
implementation("io.ktor:ktor-server-netty")
|
||||
implementation("ch.qos.logback:logback-classic:$logback_version")
|
||||
testImplementation("io.ktor:ktor-server-test-host")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
||||
}
|
Reference in New Issue
Block a user