-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.sbt
63 lines (48 loc) · 1.83 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
52
53
54
55
56
57
58
59
60
61
62
63
version := "0.10.0"
name := "play2-sockjs"
organization := "com.github.fdimuccio"
scalaVersion := "2.13.12"
crossScalaVersions := Seq("2.13.12", "3.3.1")
crossVersion := CrossVersion.binary
Test / javaOptions ++= Seq("-Xmx1g")
javacOptions ++= Seq("--release", "11", "-encoding", "UTF-8", "-Xlint:-options")
doc / javacOptions := Seq("-source", "11")
scalacOptions ++= Seq("-unchecked", "-deprecation")
Test / scalacOptions ++= Seq("-Yrangepos")
shellPrompt := ShellPrompt.buildShellPrompt(version.value)
Test / parallelExecution := false
Test / fork := true
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
Global / useGpgPinentry := true
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
homepage := Some(url("https://github.com/fdimuccio/play2-sockjs"))
scmInfo := Some(
ScmInfo(
url("https://github.com/fdimuccio/play2-sockjs"),
"scm:git:[email protected]:/play2-sockjs.git"
)
)
developers := List(
Developer(
id="fdimuccio",
name="Francesco Di Muccio",
email="[email protected]",
url=url("https://github.com/fdimuccio"))
)
val play3Version = "3.0.0"
val pekkoVersion = "1.0.1"
val pekkoHttpVersion = "1.0.0"
val scalaTestVersion = "3.2.17"
libraryDependencies ++= Seq(
"org.playframework" %% "play" % play3Version % "provided->default",
"org.apache.pekko" %% "pekko-http" % pekkoHttpVersion % Test,
"org.apache.pekko" %% "pekko-stream-testkit" % pekkoVersion % Test,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.playframework" %% "play-test" % play3Version % Test,
"org.playframework" %% "play-guice" % play3Version % Test,
"org.playframework" %% "play-netty-server" % play3Version % Test,
"com.google.inject" % "guice" % "6.0.0" % "provided->default"
)