-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
64 lines (51 loc) · 1.77 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
import Deps._
name := "featury"
lazy val featuryVersion = "0.3.0-M14-SNAPSHOT"
version := featuryVersion
lazy val shared = Seq(
scalaVersion := "2.13.8",
crossScalaVersions := Seq("2.12.15", "2.13.8"),
version := featuryVersion,
organization := "io.findify"
)
lazy val mavenSettings = Seq(
scalacOptions ++= Seq("-feature", "-deprecation"),
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:git@github.com:findify/featury.git"
)
),
developers := List(
Developer(id = "romangrebennikov", name = "Roman Grebennikov", email = "grv@dfdx.me", url = url("https://dfdx.me/"))
)
)
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")
lazy val examples = (project in file("examples"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.settings(publishArtifact := false)
.dependsOn(flink % "test->test;compile->compile")
lazy val redis = (project in file("connector/redis"))
.settings(shared: _*)
.settings(mavenSettings: _*)
.dependsOn(core % "test->test;compile->compile")
lazy val root = (project in file("."))
.aggregate(core, flink, redis, examples)
.settings(
name := "Featury",
publishArtifact := false,
publish / skip := true
)
.settings(shared: _*)
sonatypeProfileName := "io.findify"
usePgpKeyHex("6CFDF5062176DE9FB05578013C45A82BD53DADD4")
ThisBuild / evictionErrorLevel := Level.Info