This repository has been archived by the owner on May 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
76 lines (67 loc) · 2.98 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
65
66
67
68
69
70
71
72
73
74
75
76
import Dependencies._
import Settings._
import com.github.tototoshi.sbt.slick.CodegenPlugin
import scoverage.ScoverageKeys._
lazy val common = (project in file("common"))
.enablePlugins(CodegenPlugin)
.settings(noPublishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.commonSettings: _*)
.settings(libraryDependencies ++= commonDependencies)
lazy val matcher = (project in file("matcher"))
.dependsOn(common % "compile->compile;test->test")
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.matcherSettings: _*)
.settings(libraryDependencies ++= matcherDependencies)
lazy val nameResolver = (project in file("nameResolver"))
.dependsOn(common % "compile->compile;test->test", matcher)
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.nameResolverSettings: _*)
.settings(libraryDependencies ++= nameResolverDependencies)
lazy val nameFilter = (project in file("nameFilter"))
.dependsOn(common % "compile->compile;test->test", matcher)
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.nameFilterSettings: _*)
.settings(libraryDependencies ++= nameFilterDependencies)
lazy val nameBrowser = (project in file("nameBrowser"))
.dependsOn(common % "compile->compile;test->test")
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.nameBrowserSettings: _*)
.settings(libraryDependencies ++= nameBrowserDependencies)
lazy val crossMapper = (project in file("crossMapper"))
.dependsOn(common % "compile->compile;test->test")
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.crossMapperSettings: _*)
.settings(libraryDependencies ++= crossMapperDependencies)
lazy val api = (project in file("api"))
.enablePlugins(BuildInfoPlugin)
.dependsOn(common % "compile->compile;test->test", nameResolver, matcher)
.settings(publishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.apiSettings: _*)
.settings(libraryDependencies ++= apiDependencies)
lazy val benchmark = (project in file("benchmark"))
.enablePlugins(GatlingPlugin)
.settings(noPublishingSettings: _*)
.settings(Settings.settings: _*)
.settings(Settings.wartremoverSettings: _*)
.settings(Settings.benchmarkSettings: _*)
.settings(libraryDependencies ++= benchmarkDependencies)
lazy val `gnindex-root` = project.in(file("."))
.aggregate(common, nameResolver, nameFilter, nameBrowser, crossMapper, matcher, api)
.settings(noPublishingSettings: _*)
.settings(
crossScalaVersions := Seq("2.11.8"),
coverageEnabled := true
)