Skip to content

Commit

Permalink
slick 3.5.0 final
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Mar 8, 2024
1 parent f97ed2f commit fdc380f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 374 deletions.
17 changes: 9 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@ scalaVersion := "3.3.3"

crossScalaVersions := List("2.12.19", "2.13.13", "3.3.3")

libraryDependencies += {
if (scalaBinaryVersion.value == "3") {
"com.typesafe.slick" %% "slick" % "3.5.0-RC1"
} else {
"com.typesafe.slick" %% "slick" % "3.4.1"
}
}

libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.5.0",
"com.dimafeng" %% "testcontainers-scala" % "0.41.3" % "test",
"org.testcontainers" % "mysql" % "1.19.7" % "test",
"com.mysql" % "mysql-connector-j" % "8.3.0" % "test",
Expand All @@ -33,6 +26,14 @@ publishTo := {

scalacOptions := Seq("-deprecation", "-feature")

scalacOptions ++= {
if (scalaBinaryVersion.value != "3") {
Seq("-Xsource:3")
} else {
Nil
}
}

Test / scalacOptions ++= {
if (scalaBinaryVersion.value == "3") {
Seq("-source:3.0-migration")
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit fdc380f

Please sign in to comment.