-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
54 lines (41 loc) · 1.25 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
organization := "de.lenabrueder"
scalaVersion := "2.12.8"
crossScalaVersions := Seq(scalaVersion.value, "2.11.12")
name := "play-rfc7807"
//Dependencies
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % "2.7.0" % "provided",
"com.typesafe.play" %% "play-json" % "2.7.0" % "provided",
"com.google.inject" % "guice" % "4.2.2" % "provided"
)
//Test dependencies
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5",
"org.scalatestplus.play" %% "scalatestplus-play" % "4.0.0"
) map (_ % "test")
scmInfo := Some(
ScmInfo(
url("https://github.com/lenalebt/play-rfc7807"),
"scm:git@github.com:lenalebt/play-rfc7807.git"
)
)
developers := List(
Developer(
id = "lbrueder",
name = "Lena Brueder",
email = "oss@lena-brueder.de",
url = url("http://github.com/lenalebt")
)
)
homepage := Some(url("https://github.com/lenalebt/play-rfc7807"))
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
licenses += ("MIT", url("https://opensource.org/licenses/MIT"))
useGpg := true