forked from WegenenVerkeer/RxHttpClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (25 loc) · 826 Bytes
/
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
import Dependencies._
import BuildSettings._
val Name = "RxHttpClient"
val javaModuleName = Name + "-java"
lazy val disablePublishingRoot = Seq(
Keys.publishLocal := {},
Keys.publish := {},
publish/skip := true
)
lazy val javaModule = (project in file("modules/java")).settings(
name := javaModuleName,
buildSettings(javaModuleName, javaDependencies),
extraJavaSettings
)
val scalaModuleName = Name + "-scala"
lazy val scalaModule =(project in file("modules/scala")). settings(
name := scalaModuleName,
buildSettings(scalaModuleName),
crossScalaVersions := Seq("2.11.8", "2.12.1"),
libraryDependencies ++= scalaDependencies
) dependsOn javaModule
lazy val main = (project in file(".")).settings(
buildSettings(Name) ++ disablePublishingRoot,
name := Name
).aggregate(javaModule, scalaModule)