-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
63 lines (52 loc) · 1.68 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
name := "scaldi-akka"
organization := "org.scaldi"
version := "0.5.9-SNAPSHOT"
description := "Scaldi-Akka - Scaldi integration for Akka"
homepage := Some(url("http://scaldi.org"))
licenses := Seq("Apache License, ASL Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
crossScalaVersions := Seq("2.11.8", "2.12.0")
scalaVersion := "2.12.0"
scalacOptions += "-deprecation"
scalacOptions ++= {
if (scalaVersion.value startsWith "2.12")
Seq.empty
else
Seq("-target:jvm-1.7")
}
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4.12" % "provided",
"org.scaldi" %% "scaldi" % "0.5.8",
"org.scala-lang" % "scala-reflect" % scalaVersion.value
)
// Publishing
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := (_ => false)
publishTo := Some(
if (version.value.trim.endsWith("SNAPSHOT"))
"snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
git.remoteRepo := "[email protected]:scaldi/scaldi-akka.git"
site.settings
site.includeScaladoc()
ghpages.settings
// Other stuff
// nice prompt!
shellPrompt in ThisBuild := { state =>
scala.Console.BLUE + Project.extract(state).currentRef.project + "> " + scala.Console.RESET
}
startYear := Some(2011)
organizationHomepage := Some(url("https://github.com/scaldi"))
scmInfo := Some(ScmInfo(
browseUrl = url("https://github.com/scaldi/scaldi-akka"),
connection = "scm:git:[email protected]:scaldi/scaldi-akka.git"
))
pomExtra := <xml:group>
<developers>
<developer>
<id>OlegIlyenko</id>
<name>Oleg Ilyenko</name>
</developer>
</developers>
</xml:group>