-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sbt
56 lines (46 loc) · 1.49 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
organization := "com.github.hexx"
name := "gaeds"
version := "0.2.0"
scalaVersion := "2.10.1"
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature")
publishMavenStyle := true
publishArtifact in Test := false
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/hexx/gaeds</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:hexx/gaeds.git</url>
<connection>scm:git:[email protected]:hexx/gaeds.git</connection>
</scm>
<developers>
<developer>
<id>hexx</id>
<name>Seitaro Yuuki</name>
<url>https://github.com/hexx</url>
</developer>
</developers>)
libraryDependencies ++= {
val appengineVersion = "1.7.6"
Seq(
"org.json4s" %% "json4s-native" % "3.1.0",
"com.google.appengine" % "appengine-api-1.0-sdk" % appengineVersion,
"com.google.appengine" % "appengine-api-stubs" % appengineVersion % "test",
"com.google.appengine" % "appengine-testing" % appengineVersion % "test",
"commons-codec" % "commons-codec" % "1.7",
"org.scalatest" %% "scalatest" % "1.9.1" % "test"
)
}