-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.sbt
70 lines (56 loc) · 1.98 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
64
65
66
67
68
69
70
import Deps._
name := "featury"
version := "0.1.1"
lazy val shared = Seq(
scalaVersion := "2.12.14",
version := "0.1.1",
organization := "io.findify"
)
lazy val mavenSettings = Seq(
publishMavenStyle := true,
publishTo := sonatypePublishToBundle.value,
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
homepage := Some(url("https://github.com/findify/featury")),
scmInfo := Some(
ScmInfo(
url("https://github.com/findify/featury"),
"scm:[email protected]:findify/featury.git"
)
),
developers := List(
Developer(id = "romangrebennikov", name = "Roman Grebennikov", email = "[email protected]", url = url("https://dfdx.me/"))
)
)
scalaVersion := "2.12.14"
lazy val core = (project in file("core")).settings(shared: _*).settings(mavenSettings: _*)
lazy val flink = (project in file("flink"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
.dependsOn(rocksdb % "test->test;compile->compile")
lazy val api = (project in file("api"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
.dependsOn(redis % "test->test;compile->compile")
.dependsOn(cassandra % "test->test;compile->compile")
lazy val redis = (project in file("connector/redis"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
lazy val cassandra = (project in file("connector/cassandra"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
lazy val rocksdb = (project in file("connector/rocksdb"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
lazy val root = (project in file("."))
.aggregate(core, flink, api, redis, cassandra, rocksdb)
.settings(
name := "Featury"
)
.settings(shared: _*)
sonatypeProfileName := "io.findify"
usePgpKeyHex("6CFDF5062176DE9FB05578013C45A82BD53DADD4")