-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (38 loc) · 1.12 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
import sbt._
import Dependencies._
lazy val buildSettings = Seq(
organization := "com.guandata",
version in ThisBuild := Versions.currentVersion,
scalaVersion := Versions.scalaVersion,
crossScalaVersions := Versions.crossScala,
crossVersion := CrossVersion.binary,
scalacOptions ++= Seq("-feature", "-deprecation", "-Xexperimental"),
publishTo := {
val nexus = "https://app.mayidata.com/nexus/"
if (isSnapshot.value)
Some("snapshots" at nexus + "repository/maven-snapshots")
else
Some("releases" at nexus + "repository/maven-releases")
},
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
)
lazy val fdbCommon = (project in file("common")).
settings(
buildSettings,
name := "fdb-common",
libraryDependencies ++= Seq(
fdbClientDep,
rocksDbDep % Provided,
scalaTest % Test
)
)
lazy val root = (project in file(".")).
settings(
buildSettings,
name := "spark-fdb-connector",
libraryDependencies ++= Seq(
sparkDep % Provided,
scalaTest % Test
)
).aggregate(fdbCommon)
.dependsOn(fdbCommon)