-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
46 lines (40 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
44
45
46
enablePlugins(GitVersioning)
lazy val esplugin = project
.in(file("modules") / "escova-esplugin")
.settings(common)
.settings(
Seq(
// Our descriptor file is in the root project's directory
espluginDescriptorFile := baseDirectory.value /
".." / ".." / "project" / "plugin-descriptor.properties"
))
.dependsOn(core)
.aggregate(core)
lazy val core = project
.in(file("modules") / "escova-core")
.settings(common)
.settings(Seq(exportJars := true))
.settings(Seq(
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"),
publishArtifact in Test := false,
bintrayOrganization := Some("openshine"),
bintrayRepository := "maven"
))
lazy val uservice = project
.in(file("modules") / "escova-uservice")
.settings(common)
.dependsOn(core)
lazy val root = project
.in(file("."))
.settings(
Seq(
name := "escova"
))
.aggregate(uservice, esplugin)
run in Compile ~= (old => run in Compile in uservice)
val common = Seq(
organization := "com.openshine",
scalaVersion := "2.12.4",
git.useGitDescribe := true,
git.baseVersion := "0.10-dev"
)