forked from playframework/play-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
21 lines (20 loc) · 864 Bytes
/
build.sbt
File metadata and controls
21 lines (20 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
lazy val root = (project in file("."))
.enablePlugins(PlayJava, PlayEbean)
//.enablePlugins(PlayNettyServer).disablePlugins(PlayPekkoHttpServer) // uncomment to use the Netty backend
.settings(
name := "play-java-ebean-example",
version := "1.0.0-SNAPSHOT",
crossScalaVersions := Seq("2.13.16", "3.3.4"),
scalaVersion := crossScalaVersions.value.head,
libraryDependencies ++= Seq(
guice,
jdbc,
"com.h2database" % "h2" % "2.2.224",
"org.awaitility" % "awaitility" % "4.2.1" % Test,
"org.assertj" % "assertj-core" % "3.24.2" % Test,
"org.mockito" % "mockito-core" % "5.12.0" % Test,
),
(Test / testOptions) += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation", "-Werror")
)