-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
36 lines (29 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
name := "orientdb-migrations"
organization := "springnz"
scalaVersion := "2.11.8"
fork := true // if OrientDb version > 2.1-RC5
val repo = "https://nexus.prod.corp/content"
resolvers ++= Seq(
Resolver.mavenLocal,
"Orient Technologies Maven2 Repository" at "http://www.orientechnologies.com/listing/m2",
"Sonatype OSS" at "https://oss.sonatype.org/content/repositories/public",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"spring" at s"$repo/groups/public"
)
//val typesafeConfig = "com.typesafe" % "config" % "1.3.0"
libraryDependencies ++= Seq(
"org.scalaz" %% "scalaz-core" % "7.1.3",
"com.typesafe" % "config" % "1.3.0",
"com.orientechnologies" % "orientdb-client" % "2.1.11",
"org.scalatest" %% "scalatest" % "2.2.5",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"joda-time" % "joda-time" % "2.8.1"
)
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD")
publishTo <<= version { (v: String) ⇒
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at s"$repo/repositories/snapshots")
else Some("releases" at s"$repo/repositories/releases")
}
releaseSettings
ReleaseKeys.versionBump := sbtrelease.Version.Bump.Minor
ReleaseKeys.tagName := s"${name.value}-v${version.value}"