-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
executable file
·54 lines (47 loc) · 1.74 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
val commonsVersion = "0.10.8"
lazy val commonSchemas = "ch.epfl.bluebrain.nexus" %% "commons-schemas" % commonsVersion
lazy val prov = project
.in(file("modules/prov"))
.enablePlugins(WorkbenchPlugin)
.disablePlugins(ScapegoatSbtPlugin, DocumentationPlugin)
.dependsOn(provshapes)
.settings(
name := "nexus-prov",
moduleName := "nexus-prov"
)
lazy val provshapes = project
.in(file("modules/provsh"))
.enablePlugins(WorkbenchPlugin)
.disablePlugins(ScapegoatSbtPlugin, DocumentationPlugin)
.settings(
name := "nexus-prov-shapes",
moduleName := "nexus-prov-shapes",
libraryDependencies += commonSchemas
)
lazy val root = project
.in(file("."))
.settings(noPublish)
.aggregate(prov, provshapes)
lazy val noPublish = Seq(
publishLocal := {},
publish := {},
publishArtifact := false
)
inThisBuild(
Seq(
autoScalaLibrary := false,
workbenchVersion := "0.3.0",
resolvers += Resolver.bintrayRepo("bogdanromanx", "maven"),
bintrayOmitLicense := true,
homepage := Some(url("https://github.com/BlueBrain/nexus-prov")),
licenses := Seq("Attribution" -> url("https://github.com/BlueBrain/nexus-prov/blob/master/LICENSE")),
scmInfo := Some(
ScmInfo(url("https://github.com/BlueBrain/nexus-prov"), "scm:git:git@github.com:BlueBrain/nexus-prov.git")),
developers := List(Developer("MFSY", "Mohameth François Sy", "noreply@epfl.ch", url("https://bluebrain.epfl.ch/"))),
// These are the sbt-release-early settings to configure
releaseEarlyWith := BintrayPublisher,
releaseEarlyNoGpg := true,
releaseEarlyEnableSyncToMaven := false
)
)
addCommandAlias("review", ";clean;test")