-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
55 lines (53 loc) · 1.72 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
lazy val commonSettings = Seq(
version := "0.5.6",
scalaVersion := "2.11.8",
organization := "com.unstablebuild",
organizationName := "unstablebuild.com",
homepage := Some(url("https://github.com/lucastorri/autobreaker")),
organizationHomepage := Some(url("http://unstablebuild.com")),
crossScalaVersions := Seq(scalaVersion.value),
licenses := Seq("MIT License" -> url("https://opensource.org/licenses/MIT")),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
),
resolvers ++= Seq(),
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")
},
publishArtifact in Test := false,
pomIncludeRepository := (_ => false),
pomExtra :=
<scm>
<url>[email protected]:lucastorri/autobreaker.git</url>
<connection>scm:git:[email protected]:lucastorri/autobreaker.git</connection>
</scm>
<developers>
<developer>
<id>lucastorri</id>
<name>Lucas Torri</name>
<url>http://unstablebuild.com</url>
</developer>
</developers>
)
lazy val root = project.in(file("."))
.settings(commonSettings: _*)
.settings(
name := "autobreaker",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4.9",
"io.zman" %% "atmos" % "2.1",
"com.typesafe.scala-logging" %% "scala-logging" % "3.4.0"
)
)
lazy val guice = project.in(file("guice"))
.dependsOn(root)
.settings(commonSettings: _*)
.settings(
name := "autobreaker-guice",
libraryDependencies ++= Seq(
"com.google.inject" % "guice" % "4.1.0"
)
)