Skip to content

Commit

Permalink
tested with postgreql 17
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Nov 9, 2024
1 parent 28e9197 commit 90cc001
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import java.net.URI
import Dependencies.*

val tapirVersion = "1.11.1"
val tapirVersion = "1.11.8"
val eclipselinkVersion = "4.0.2"
val derbyVersion = "10.16.1.1"
val testcontainersVersion = "0.41.0"
Expand All @@ -10,7 +10,7 @@ Global / onChangedBuildSource := ReloadOnSourceChanges

ThisBuild / javacOptions ++= Seq("-target", "21", "-source", "21")
ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / scalaVersion := "3.5.0"
ThisBuild / scalaVersion := "3.5.2"
// ThisBuild / version := "0.0.1"
ThisBuild / organization := "org.mbari"
ThisBuild / organizationName := "Monterey Bay Aquarium Research Institute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.testcontainers.containers.PostgreSQLContainer
object PostgresqlTestDAOFactory extends SpecDAOFactory:

// TODO - intialize the container with SQL so UUID type gets correctly created
val container = new PostgreSQLContainer("postgres:16")
val container = new PostgreSQLContainer("postgres:17")
container.withInitScript("sql/postgresql/02_m3_video_assets.sql")
container.withReuse(true)
container.start()
Expand Down
14 changes: 7 additions & 7 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sbt._
object Dependencies {

val circeVersion = "0.14.9"
val circeVersion = "0.14.10"
lazy val circeCore = "io.circe" %% "circe-core" % circeVersion
lazy val circeGeneric = "io.circe" %% "circe-generic" % circeVersion
lazy val circeParser = "io.circe" %% "circe-parser" % circeVersion
Expand All @@ -14,7 +14,7 @@ object Dependencies {
lazy val derbyTools = "org.apache.derby" % "derbytools" % derbyVersion

// val hibernateVersion = "6.4.8.Final"
val hibernateVersion = "6.6.0.Final"
val hibernateVersion = "6.6.1.Final"
lazy val hibernateCore = "org.hibernate.orm" % "hibernate-core" % hibernateVersion
lazy val hibernateEnvers = "org.hibernate.orm" % "hibernate-envers" % hibernateVersion
lazy val hibernateHikari = "org.hibernate.orm" % "hibernate-hikaricp" % hibernateVersion
Expand All @@ -23,12 +23,12 @@ object Dependencies {
lazy val jansi = "org.fusesource.jansi" % "jansi" % "2.4.0"
lazy val javaJwt = "com.auth0" % "java-jwt" % "4.4.0"

val logbackVersion = "1.5.7"
val logbackVersion = "1.5.12"
lazy val logbackClassic = "ch.qos.logback" % "logback-classic" % logbackVersion
lazy val logbackCore = "ch.qos.logback" % "logback-core" % logbackVersion

lazy val mssqlJdbc = "com.microsoft.sqlserver" % "mssql-jdbc" % "12.8.1.jre11"
lazy val munit = "org.scalameta" %% "munit" % "1.0.1"
lazy val munit = "org.scalameta" %% "munit" % "1.0.2"
lazy val oracleJdbc = "com.oracle.ojdbc" % "ojdbc8" % "19.3.0.0"
lazy val postgresql = "org.postgresql" % "postgresql" % "42.7.4"
lazy val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
Expand All @@ -38,15 +38,15 @@ object Dependencies {
lazy val slf4jLog4j = "org.slf4j" % "log4j-over-slf4j" % slf4jVersion
lazy val slf4jSystem = "org.slf4j" % "slf4j-jdk-platform-logging" % slf4jVersion

private val tapirVersion = "1.11.1"
lazy val tapirSttpCirce = "com.softwaremill.sttp.client3" %% "circe" % "3.9.8"
private val tapirVersion = "1.11.8"
lazy val tapirSttpCirce = "com.softwaremill.sttp.client3" %% "circe" % "3.10.1"
lazy val tapirCirce = "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion
lazy val tapirPrometheus = "com.softwaremill.sttp.tapir" %% "tapir-prometheus-metrics" % tapirVersion
lazy val tapirServerStub = "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion
lazy val tapirSwagger = "com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion
lazy val tapirVertex = "com.softwaremill.sttp.tapir" %% "tapir-vertx-server" % tapirVersion

val testcontainersVersion = "1.20.1"
val testcontainersVersion = "1.20.3"
lazy val testcontainersCore = "org.testcontainers" % "testcontainers" % testcontainersVersion
lazy val testcontainersSqlserver = "org.testcontainers" % "mssqlserver" % testcontainersVersion
lazy val testcontainersOracle = "org.testcontainers" % "oracle-xe" % testcontainersVersion
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.0
sbt.version=1.10.5
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")

0 comments on commit 90cc001

Please sign in to comment.