flayre/server/build.gradle.kts

42 lines
1.3 KiB
Text
Raw Normal View History

plugins {
kotlin("jvm")
application
}
application {
mainClassName = "io.ktor.server.netty.EngineMain"
}
sourceSets {
main {
java.srcDir("src")
resources.srcDir("resources")
}
test {
java.srcDir("test")
resources.srcDir("testresources")
}
}
val ktorVersion: String by project
val logbackVersion: String by project
val exposedVersion: String by project
dependencies {
implementation(kotlin("stdlib"))
implementation(project(":shared"))
implementation("io.ktor:ktor-server-netty:$ktorVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-auth:$ktorVersion")
implementation("io.ktor:ktor-auth-jwt:$ktorVersion")
implementation("io.ktor:ktor-gson:$ktorVersion")
testImplementation("io.ktor:ktor-server-tests:$ktorVersion")
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-java-time:$exposedVersion")
implementation("mysql:mysql-connector-java:8.0.19")
implementation("com.zaxxer:HikariCP:3.4.2")
}