Skip to content

Commit

Permalink
Ebean 13.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PromanSEW committed May 12, 2022
1 parent 0bdb82a commit 57b85d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
17 changes: 8 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,30 @@ version := "release"

lazy val root = (project in file(".")).enablePlugins(PlayJava, PlayEbean)

val ebeanVersion = "12.15.1"
val ebeanVersion = "13.6.0"

scalaVersion := "2.13.8"

libraryDependencies ++= Seq(evolutions, guice, javaJdbc)

libraryDependencies ++= Seq(
"org.postgresql" % "postgresql" % "42.3.2",
"io.ebean" % "ebean-ddl-generator" % ebeanVersion
//"org.postgresql" % "postgresql" % "42.3.4"
"com.h2database" % "h2" % "2.1.212"
)

dependencyOverrides ++= Seq(
"io.ebean" % "ebean" % ebeanVersion,
"io.ebean" % "ebean-agent" % ebeanVersion
"io.ebean" % "ebean-agent" % ebeanVersion,
"io.ebean" % "ebean-ddl-generator" % ebeanVersion
)

Docker / maintainer := "[email protected]"
Docker / packageName := "play-ebean-example"
Docker / version := sys.env.getOrElse("BUILD_NUMBER", "0")
Docker / daemonUserUid := None
Docker / daemonUser := "daemon"
Docker / version := "latest"

dockerExposedPorts := Seq(80, 9000)
dockerBaseImage := "openjdk:11.0.14.1-jre-slim"
dockerRepository := sys.env.get("promansew")
dockerBaseImage := "openjdk:11.0.15-jre-slim"
dockerRepository := Some("promansew")
dockerUpdateLatest := true
dockerChmodType := DockerChmodType.UserGroupWriteExecute
dockerPermissionStrategy := DockerPermissionStrategy.CopyChown
4 changes: 2 additions & 2 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ play.http.forwarded.trustedProxies = ["0.0.0.0/0", "::/0"]

play.http.secret.key = "Pg/3IPL4Y?:=aVboyUL?>QwRr2pr4qOx7QTL_m078l^MC[Zw66Xx2aBV4tJ3RuHE"

db.default.driver = org.postgresql.Driver
db.default.url = ${?DATABASE_URL}
db.default.driver = org.h2.Driver
db.default.url = "jdbc:h2:mem:play"

ebean.default = ["models.*"]
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.13")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.15")

addSbtPlugin("com.typesafe.play" % "sbt-play-ebean" % "6.2.0-RC4")
addSbtPlugin("com.typesafe.play" % "sbt-play-ebean" % "6.2.0-RC6")

0 comments on commit 57b85d4

Please sign in to comment.