🚧 Påbegynt database konfigurering
Co-authored-by: Hege Haavaldsen <hege.haavaldsen@nav.no> Co-authored-by: Helene Arnesen <helene.arnesen@nav.no> Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no> Co-authored-by: Amalie Mansåker <amalie.erdal.mansaker@nav.no>
This commit is contained in:
parent
73a9490a4d
commit
23233121d0
4 changed files with 59 additions and 4 deletions
|
@ -1,12 +1,17 @@
|
|||
val ktor_version: String by project
|
||||
val kotlin_version: String by project
|
||||
val logback_version: String by project
|
||||
val flyway_core_version: String by project
|
||||
val postgresql_version: String by project
|
||||
val hikariCP_version: String by project
|
||||
val exposed_version: String by project
|
||||
val testcontainers_postgresql_version: String by project
|
||||
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.8.22"
|
||||
id("io.ktor.plugin") version "2.3.2"
|
||||
kotlin("plugin.serialization") version "1.8.21"
|
||||
|
||||
}
|
||||
|
||||
group = "no.nav.helse.sprik"
|
||||
|
@ -26,11 +31,18 @@ dependencies {
|
|||
implementation("io.ktor:ktor-server-core-jvm:$ktor_version")
|
||||
implementation("io.ktor:ktor-server-netty-jvm:$ktor_version")
|
||||
implementation("ch.qos.logback:logback-classic:$logback_version")
|
||||
testImplementation("io.ktor:ktor-server-tests-jvm:$ktor_version")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
||||
implementation("io.ktor:ktor-server-cors:$ktor_version")
|
||||
implementation("io.ktor:ktor-utils:$ktor_version")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
|
||||
implementation("io.ktor:ktor-server-content-negotiation:$ktor_version")
|
||||
implementation("io.ktor:ktor-client-content-negotiation:$ktor_version")
|
||||
}
|
||||
implementation("org.flywaydb:flyway-core:$flyway_core_version")
|
||||
implementation("org.postgresql:postgresql:$postgresql_version")
|
||||
implementation("com.zaxxer:HikariCP:$hikariCP_version")
|
||||
implementation("org.jetbrains.exposed:exposed-core:$exposed_version")
|
||||
implementation("org.jetbrains.exposed:exposed-jdbc:$exposed_version")
|
||||
implementation("org.jetbrains.exposed:exposed-java-time:$exposed_version")
|
||||
testImplementation("io.ktor:ktor-server-tests-jvm:$ktor_version")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
||||
testImplementation("org.testcontainers:postgresql:$testcontainers_postgresql_version")
|
||||
}
|
||||
|
|
Reference in a new issue