forked from bluelabsio/s3-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
41 lines (36 loc) · 1.06 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
import Dependencies._
import sbt.Keys._
lazy val commonSettings = Seq(
organization := "com.bluelabs",
version := "0.0.4",
scalaVersion := "2.11.8",
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature"),
bintrayReleaseOnPublish in ThisBuild := false,
bintrayOrganization := Some("bluelabsio"),
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
publishMavenStyle := true,
publishArtifact := true,
publishArtifact in Test := false
)
lazy val doNotPublishSettings = Seq(
publish := {},
bintrayRelease := {},
packagedArtifacts := Map.empty
)
lazy val root = (project in file(".")).
settings(
doNotPublishSettings: _*
).
aggregate(s3stream, awsRequests)
lazy val awsRequests = (project in file("akka-http-aws")).
settings(commonSettings: _*).
settings(
name := "akka-http-aws",
libraryDependencies ++= awsSignatureDeps
)
lazy val s3stream = (project in file("s3-stream")).
settings(commonSettings: _*).
settings(
name := "s3-stream",
libraryDependencies ++= s3StreamDeps
).dependsOn(awsRequests)