forked from twitter/finatra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
68 lines (52 loc) · 1.77 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
organization := "com.twitter"
name := "finatra"
organization := "com.twitter"
version := "1.5.3-SNAPSHOT"
scalaVersion := "2.10.3"
crossScalaVersions := Seq("2.9.2", "2.10.3")
//Main
libraryDependencies ++= Seq(
"com.twitter" %% "twitter-server" % "1.4.1",
"com.twitter" %% "finagle-stats" % "6.11.1",
"commons-io" % "commons-io" % "1.3.2",
"org.scalatest" %% "scalatest" % "1.9.2",
"com.google.code.findbugs" % "jsr305" % "2.0.1",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.2.2",
"com.github.spullara.mustache.java" % "compiler" % "0.8.14",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.2.2"
)
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
//Release
resolvers +=
"Twitter" at "http://maven.twttr.com"
resolvers +=
"Local Maven Repository" at "file:///"+Path.userHome+"/.m2/repository"
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
licenses := Seq("Apache License, Version 2.0" ->
url("http://www.apache.org/licenses/LICENSE-2.0"))
homepage := Some(url("http://finatra.info"))
pomExtra := (
<developers>
<developer>
<id>julio</id>
<name>Julio Capote</name>
<email>[email protected]</email>
</developer>
<developer>
<id>chris</id>
<name>Christopher Burnett</name>
<email>[email protected]</email>
</developer>
</developers>
<scm>
<connection>scm:git:[email protected]:twitter/finatra.git</connection>
<url>scm:git:[email protected]:twitter/finatra.git</url>
<developerConnection>scm:git:[email protected]:twitter/finatra.git</developerConnection>
</scm>)