init
This commit is contained in:
commit
3f9345b064
19 changed files with 710 additions and 0 deletions
47
build.gradle.kts
Normal file
47
build.gradle.kts
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
val exposed_version: String by project
|
||||
val h2_version: String by project
|
||||
val kotlin_version: String by project
|
||||
val logback_version: String by project
|
||||
val postgres_version: String by project
|
||||
val flyway_version: String by project
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "2.3.0"
|
||||
id("io.ktor.plugin") version "3.4.0"
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version "2.3.0"
|
||||
}
|
||||
|
||||
group = "cz.flegr"
|
||||
version = "0.0.1"
|
||||
|
||||
application {
|
||||
mainClass = "io.ktor.server.netty.EngineMain"
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
}
|
||||
|
||||
buildscript {
|
||||
val flyway_version: String by project
|
||||
dependencies {
|
||||
classpath("org.flywaydb:flyway-database-postgresql:$flyway_version")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("io.ktor:ktor-server-core")
|
||||
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("org.postgresql:postgresql:$postgres_version")
|
||||
implementation("io.ktor:ktor-server-call-logging")
|
||||
implementation("io.ktor:ktor-server-netty")
|
||||
implementation("org.flywaydb:flyway-core:$flyway_version")
|
||||
implementation("org.flywaydb:flyway-database-postgresql:$flyway_version")
|
||||
implementation("ch.qos.logback:logback-classic:$logback_version")
|
||||
implementation("io.ktor:ktor-server-config-yaml")
|
||||
testImplementation("io.ktor:ktor-server-test-host")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue