-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
25 lines (18 loc) · 769 Bytes
/
build.sbt
File metadata and controls
25 lines (18 loc) · 769 Bytes
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
import sbtrelease.ReleasePlugin._
name := "spring-paperclip"
organization := "com.gs"
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishTo <<= (version) { version: String =>
val nexus = "http://nexus.generalsensing.com/content/repositories/"
if (version.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "snapshots/")
else Some("releases" at nexus + "releases/")
}
scalaVersion := "2.10.0"
libraryDependencies ++= Seq(
"net.java.dev.inflector" % "inflector" % "0.7.0",
"org.springframework" % "spring-core" % "3.1.1.RELEASE",
"org.slf4j" % "slf4j-api" % "1.6.4",
"junit" % "junit" % "4.9" % "test",
"com.novocode" % "junit-interface" % "0.7" % "test"
)
seq(releaseSettings:_*)