Skip to content

Commit

Permalink
enable compression. Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Jan 28, 2025
1 parent 2b45059 commit cc241a2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 49 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/l
ThisBuild / organization := "org.mbari"
ThisBuild / organizationName := "Monterey Bay Aquarium Research Institute"
ThisBuild / resolvers ++= Seq(Resolver.githubPackages("mbari-org", "maven"))
ThisBuild / scalaVersion := "3.5.2"
ThisBuild / scalaVersion := "3.6.2"
// ThisBuild / scalaVersion := "3.3.1" // Fails. See https://github.com/lampepfl/dotty/issues/17069#issuecomment-1763053572
ThisBuild / scalacOptions ++= Seq(
"-deprecation", // Emit warning and location for usages of deprecated APIs.
Expand Down Expand Up @@ -72,7 +72,6 @@ lazy val annosaurus = (project in file("annosaurus"))
hibernateCore,
hibernateEnvers,
hibernateHikari,
h2 % Test,
hikariCp,
jansi % Runtime,
javaxServlet,
Expand Down
50 changes: 7 additions & 43 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,10 @@ object Dependencies {
lazy val circeGeneric = "io.circe" %% "circe-generic" % circeVersion
lazy val circeParser = "io.circe" %% "circe-parser" % circeVersion

lazy val commonsCodec = "commons-codec" % "commons-codec" % "1.17.1"
lazy val commonsCodec = "commons-codec" % "commons-codec" % "1.18.0"

val derbyVersion = "10.17.1.0"
lazy val derby = "org.apache.derby" % "derby" % derbyVersion // % "test"
lazy val derbyClient = "org.apache.derby" % "derbyclient" % derbyVersion // % "test"
lazy val derbyNet = "org.apache.derby" % "derbynet" % derbyVersion // % "test"
lazy val derbyShared = "org.apache.derby" % "derbyshared" % derbyVersion
lazy val derbyTools = "org.apache.derby" % "derbytools" % derbyVersion

// val eclipselinkVersion = "4.0.2"
// lazy val eclipselinkExtension = "org.eclipse.persistence" % "org.eclipse.persistence.extension" % eclipselinkVersion
// lazy val eclipselinkJpa = "org.eclipse.persistence" % "org.eclipse.persistence.jpa" % eclipselinkVersion

lazy val fatboyGson = "com.fatboyindustrial.gson-javatime-serialisers" % "gson-javatime-serialisers" % "1.1.2"
lazy val gson = "com.google.code.gson" % "gson" % "2.10.1"
lazy val h2 = "com.h2database" % "h2" % "2.3.232"

val hibernateVersion = "6.6.3.Final" //"6.4.8.Final" //"6.5.1.Final" - envers is throwing: The column name REV is not valid.
val hibernateVersion = "6.6.5.Final" //"6.4.8.Final" //"6.5.1.Final" - envers is throwing: The column name REV is not valid.
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 @@ -35,35 +21,14 @@ object Dependencies {
lazy val javaxServlet = "javax.servlet" % "javax.servlet-api" % "4.0.1"
lazy val javaxTransaction = "javax.transaction" % "jta" % "1.1"

// val jettyVersion = "12.0.2"
// lazy val jettyServer = "org.eclipse.jetty" % "jetty-server" % jettyVersion
// lazy val jettyServlets = "org.eclipse.jetty.ee10" % "jetty-ee10-servlets" % jettyVersion
// lazy val jettyWebapp = "org.eclipse.jetty.ee10" % "jetty-ee10-webapp" % jettyVersion

val jettyVersion = "11.0.19"
lazy val jettyServer = "org.eclipse.jetty" % "jetty-server" % jettyVersion
lazy val jettyServlets = "org.eclipse.jetty" % "jetty-servlets" % jettyVersion
lazy val jettyWebapp = "org.eclipse.jetty" % "jetty-webapp" % jettyVersion

lazy val jmelody = "net.bull.javamelody" % "javamelody-core" % "2.0.1"
lazy val json4sJackson = "org.json4s" %% "json4s-jackson" % "4.0.7"
lazy val junit = "junit" % "junit" % "4.13.2"

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 logbackClassic = "ch.qos.logback" % "logback-classic" % "1.5.16"

lazy val mssqlserver = "com.microsoft.sqlserver" % "mssql-jdbc" % "12.8.1.jre11"
lazy val munit = "org.scalameta" %% "munit" % "1.0.3"
lazy val munit = "org.scalameta" %% "munit" % "1.1.0"
lazy val oracle = "com.oracle.ojdbc" % "ojdbc8" % "19.3.0.0"
lazy val postgresql = "org.postgresql" % "postgresql" % "42.7.4"
lazy val postgresql = "org.postgresql" % "postgresql" % "42.7.5"
lazy val rxJava3 = "io.reactivex.rxjava3" % "rxjava" % "3.1.10"
lazy val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"

val scalatraVersion = "3.1.0"
lazy val scalatra = "org.scalatra" %% "scalatra-jakarta" % scalatraVersion
lazy val scalatraJson = "org.scalatra" %% "scalatra-json-jakarta" % scalatraVersion
lazy val scalatraScalatest = "org.scalatra" %% "scalatra-scalatest-jakarta" % scalatraVersion

// lazy val scilube = "org.mbari.scilube" %% "scilube" % "3.0.1"
lazy val scommons = "org.mbari.commons" %% "scommons" % "0.0.7"
Expand All @@ -74,15 +39,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.10"
private val tapirVersion = "1.11.13"
lazy val tapirCirce = "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion
lazy val tapirHelidon = "com.softwaremill.sttp.tapir" %% "tapir-nima-server" % 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

lazy val tapirSttpCirce = "com.softwaremill.sttp.client3" %% "circe" % "3.10.1"
lazy val tapirSttpCirce = "com.softwaremill.sttp.client3" %% "circe" % "3.10.2"

// val testcontainersScalaVersion = "0.41.0"
// lazy val testcontainersPostgresql =
Expand All @@ -101,7 +66,6 @@ object Dependencies {
lazy val testcontainersPostgres = "org.testcontainers" % "postgresql" % testcontainersVersion

lazy val typesafeConfig = "com.typesafe" % "config" % "1.4.3"
lazy val uuidgen = "org.mbari.uuid" % "uuid-gen" % "0.1.4"
lazy val vcr4jCore = "org.mbari.vcr4j" % "vcr4j-core" % "5.3.1"
lazy val zeromq = "org.zeromq" % "jeromq" % "0.6.0"

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.6
sbt.version=1.10.7
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.0")
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")

resolvers ++= Resolver.sonatypeOssRepos("snapshots")

0 comments on commit cc241a2

Please sign in to comment.