-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
61 lines (46 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
52
53
54
55
56
57
58
59
60
61
organization := "com.pongr"
name := "jetray"
scalaVersion := "2.9.2"
resolvers ++= Seq(
"Typesafe" at "http://repo.typesafe.com/typesafe/releases/",
"Burtsev" at "http://maven.burtsev.net"
)
libraryDependencies ++= Seq(
"javax.mail" % "mail" % "1.4.7",
"com.typesafe.akka" % "akka-actor" % Version.akka,
"com.google.gdata.gdata-java-client" % "gdata-spreadsheet-3.0" % "1.47.1", //in Burtsev repo
"com.google.oauth-client" % "google-oauth-client" % "1.14.0-beta", //in central repo
"com.typesafe.akka" % "akka-actor" % Version.akka % "runtime",
"ch.qos.logback" % "logback-classic" % "1.0.9" % "runtime",
"org.specs2" %% "specs2" % "1.12.4.1" % "test",
"com.typesafe.akka" % "akka-testkit" % Version.akka % "test"
)
seq(sbtrelease.Release.releaseSettings: _*)
//http://www.scala-sbt.org/using_sonatype.html
//https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
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/")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0"))
homepage := Some(url("http://github.com/pongr/jetray"))
organizationName := "Pongr"
organizationHomepage := Some(url("http://pongr.com"))
description := "Scala toolkit for concurrent email load generation, delivery and analysis"
pomExtra := (
<scm>
<url>[email protected]:pongr/jetray.git</url>
<connection>scm:git:[email protected]:pongr/jetray.git</connection>
</scm>
<developers>
<developer>
<id>zcox</id>
<name>Zach Cox</name>
<url>http://theza.ch</url>
</developer>
</developers>
)