-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
51 lines (38 loc) · 1.87 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
import sbtrelease._
import ReleaseStateTransformations._
import preprocessingBuild._
name := "template-preprocessing"
organization := "era7"
scalaVersion := "2.10.1"
// crossScalaVersions := Seq("2.10.0.RC1", "2.10.0.RC2")
publishMavenStyle := false
publishTo <<= version { (v: String) =>
if (v.trim.endsWith("-SNAPSHOT")) {
Some(Resolver.file("local-snapshots", file("artifacts/snapshots.era7.com"))(Resolver.ivyStylePatterns))
} else {
Some(Resolver.file("local-releases", file("artifacts/releases.era7.com"))(Resolver.ivyStylePatterns))
}
}
resolvers ++= Seq (
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases",
"Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases",
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Era7 Releases" at "http://releases.era7.com.s3.amazonaws.com",
"Era7 Snapshots" at "http://snapshots.era7.com.s3.amazonaws.com"
)
libraryDependencies += "org.scala-sbt" % "launcher-interface" % "0.12.1" % "provided"
resolvers <+= sbtResolver
libraryDependencies ++= Seq (
"com.chuusai" %% "shapeless" % "1.2.3",
"org.rogach" %% "scallop" % "0.9.1",
"org.json4s" %% "json4s-jackson" % "3.2.4",
"com.github.scala-incubator.io" %% "scala-io-core" % "0.4.2",
"com.github.scala-incubator.io" %% "scala-io-file" % "0.4.2"
)
scalacOptions ++= Seq(
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-deprecation",
"-unchecked"
)