Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad committed Mar 25, 2024
1 parent f2c05a6 commit 75955f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.apache.tools.ant.taskdefs.condition.Os

group = "no.nav.syfo"
version = "1.0.0"
Expand All @@ -8,7 +7,7 @@ object Versions {
const val confluent = "7.5.1"
const val dialogmeldingVersion = "1.5d21db9"
const val fellesformat2Version = "1.0329dd1"
const val flyway = "9.22.3"
const val flyway = "10.10.0"
const val hikari = "5.1.0"
const val jackson = "2.16.1"
const val jaxb = "2.3.1"
Expand All @@ -25,7 +24,7 @@ object Versions {
const val mq = "9.3.4.1"
const val nimbusjosejwt = "9.37.3"
const val postgres = "42.7.2"
val postgresEmbedded = if (Os.isFamily(Os.FAMILY_MAC)) "1.0.0" else "0.13.4"
const val postgresEmbedded = "2.0.6"
const val spek = "2.0.19"
const val syfotjenester = "1.2021.06.09-13.09-b3d30de9996e"
}
Expand Down Expand Up @@ -127,7 +126,7 @@ dependencies {
implementation("org.flywaydb:flyway-core:${Versions.flyway}")
implementation("com.zaxxer:HikariCP:${Versions.hikari}")
implementation("org.postgresql:postgresql:${Versions.postgres}")
testImplementation("com.opentable.components:otj-pg-embedded:${Versions.postgresEmbedded}")
testImplementation("io.zonky.test:embedded-postgres:${Versions.postgresEmbedded}")

testImplementation("com.nimbusds:nimbus-jose-jwt:${Versions.nimbusjosejwt}")
testImplementation("io.ktor:ktor-server-test-host:${Versions.ktor}")
Expand Down Expand Up @@ -158,6 +157,7 @@ tasks {
}

withType<ShadowJar> {
mergeServiceFiles()
archiveBaseName.set("app")
archiveClassifier.set("")
archiveVersion.set("")
Expand Down
2 changes: 1 addition & 1 deletion src/test/kotlin/no/nav/syfo/testhelper/TestDatabase.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package no.nav.syfo.testhelper

import com.opentable.db.postgres.embedded.EmbeddedPostgres
import io.zonky.test.db.postgres.embedded.EmbeddedPostgres
import no.nav.syfo.application.database.DatabaseInterface
import no.nav.syfo.application.database.toList
import no.nav.syfo.behandler.database.*
Expand Down

0 comments on commit 75955f8

Please sign in to comment.