-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
32 lines (24 loc) · 908 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
name := "simple-blob"
organization := "au.com.simplemachines"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.11.7", "2.12.2")
libraryDependencies ++= {
Seq(
"com.google.guava" % "guava" % "18.0",
"com.google.code.findbugs" % "jsr305" % "2.0.0",
"org.scala-lang.modules" %% "scala-xml" % "1.0.5",
"au.com.simplemachines" %% "simple-net" % "1.0.1",
"org.specs2" %% "specs2-core" % "3.8.9" % "test",
"org.specs2" %% "specs2-mock" % "3.8.9" % "test"
)
}
resolvers += "simplemachines releases" at "https://nexus.simplemachines.com.au/content/repositories/releases"
publishMavenStyle := true
publishTo := Some {
"simplemachines repo" at {
"https://nexus.simplemachines.com.au/content/repositories/" + {
if (version.value.trim.endsWith("SNAPSHOT")) "snapshots/" else "releases/"
}
}
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")