forked from ShellRechargeSolutionsEU/mobilityid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (23 loc) · 925 Bytes
/
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
organization := "com.thenewmotion"
name := "evcoid"
scalaVersion := "2.10.4"
crossScalaVersions := Seq("2.10.4", "2.11.2")
ReleaseKeys.crossBuild := true
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
resolvers ++= Seq(
"Nexus" at "http://nexus.thenewmotion.com/content/groups/public/",
"Nexus Snapshots" at "http://nexus.thenewmotion.com/content/repositories/snapshots"
)
publishTo := {
val nexus = "http://nexus.thenewmotion.com/content/repositories/"
if (isSnapshot.value) Some("snapshots" at nexus + "snapshots-public")
else Some("releases" at nexus + "releases-public")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
releaseSettings
libraryDependencies ++= {
Seq(
"org.specs2" %% "specs2" % "2.3.13" % "test"
)
}
licenses += ("Apache License, Version 2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))