-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.sbt
51 lines (44 loc) · 1.39 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
parallelExecution in Global := false
val commonSettings = Seq(
organization := "org.julienrf",
scalaVersion := "2.13.12"
)
lazy val jsmessages = project
.settings(commonSettings: _*)
.settings(
name := "play-jsmessages",
crossScalaVersions := Seq("2.13.12", "3.3.1"),
libraryDependencies ++= Seq(
component("play"),
),
homepage := Some(url("https://github.com/julienrf/play-jsmessages")),
licenses := List("MIT License" -> url("https://opensource.org/licenses/mit-license.php")),
developers := List(
Developer(
"julienrf",
"Julien Richard-Foy",
url("https://github.com/julienrf")
)
)
)
// Settings for sample play-apps, containing the tests.
val sampleSettings = commonSettings ++ Seq(
libraryDependencies ++= Seq(
guice,
"org.scalatestplus.play" %% "scalatestplus-play" % "7.0.0" % Test
),
publish / skip := true,
)
lazy val sampleScala = Project("sample-scala", file("sample-scala"))
.settings(sampleSettings: _*)
.enablePlugins(PlayScala)
.dependsOn(jsmessages)
lazy val sampleJava = Project("sample-java", file("sample-java"))
.settings(sampleSettings: _*)
.enablePlugins(PlayJava)
.dependsOn(jsmessages)
lazy val playJsmessages = project.in(file("."))
.settings(commonSettings: _*)
.settings(publish / skip := true)
.aggregate(jsmessages, sampleScala, sampleJava)