forked from KKBOX/spark-deployer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (50 loc) · 1.62 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
scalaVersion := "2.10.6"
lazy val commonSettings = Seq(
organization := "net.pishen",
version := "1.3.0",
scalaVersion := "2.10.6",
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
homepage := Some(url("https://github.com/pishen/spark-deployer")),
pomExtra := (
<scm>
<url>https://github.com/pishen/spark-deployer.git</url>
<connection>scm:git:[email protected]:pishen/spark-deployer.git</connection>
</scm>
<developers>
<developer>
<id>pishen</id>
<name>Pishen Tsai</name>
</developer>
</developers>
)
)
//publish core before other sub-projects
lazy val core = (project in file("core"))
.settings(commonSettings: _*)
.settings(
name := "spark-deployer-core",
crossScalaVersions := Seq("2.10.6", "2.11.7"),
libraryDependencies ++= Seq(
"org.slf4s" %% "slf4s-api" % "1.7.12",
"net.ceedubs" %% "ficus" % "[1.0.1,1.1.2]",
"com.github.seratch" %% "awscala" % "0.5.5" excludeAll(ExclusionRule(organization = "com.amazonaws")),
"com.amazonaws" % "aws-java-sdk-s3" % "1.10.34",
"com.amazonaws" % "aws-java-sdk-ec2" % "1.10.34"
)
)
lazy val plugin = (project in file("plugin"))
.settings(commonSettings: _*)
.settings(
sbtPlugin := true,
name := "spark-deployer-sbt",
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.0"),
publishMavenStyle := false,
libraryDependencies += "com.github.eirslett" %% "sbt-slf4j" % "0.1"
)
.dependsOn(core)
lazy val cmd = (project in file("cmd"))
.settings(commonSettings: _*)
.settings(
name := "spark-deployer-cmd"
)
.dependsOn(core)