-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
128 lines (119 loc) · 2.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
default(
group("org.hammerlab.math"),
versions(
io_utils → "5.2.1",
iterators → "2.1.0"
)
)
lazy val cubic = cross.settings(
r"1.0.0",
dep(
io_utils,
iterators,
shapeless,
spire
),
publishTestJar
).dependsOn(
tolerance,
utils,
format,
types test
)
lazy val `cubic-x` = cubic.x
lazy val format = cross.settings(
r"1.1.1",
dep(cats)
)
lazy val `format-x` = format.x
lazy val quartic = cross.settings(
r"1.0.0",
dep(
cats,
io_utils,
shapeless,
spire,
iterators.tests
),
publishTestJar
).dependsOn(
format,
tolerance,
utils,
cubic andTest,
types test
)
lazy val `quartic-x` = quartic.x
lazy val stats = cross.settings(
r"1.3.3",
dep(
cats,
io_utils,
iterators,
spire
)
).dependsOn(
format,
tolerance,
types,
utils
)
lazy val `stats-x` = stats.x
lazy val tolerance = cross.settings(
r"1.0.1",
dep(cats),
// test-utils depends on this module for fuzzy-equality / tolerant-double comparisons, and dependency-resolvers
// emit circular-dependency false-positives when `a` depends on `b` and `b` depends on `a`'s tests
testDeps := Seq(scalatest),
publishTestJar
)
lazy val `tolerance-x` = tolerance.x
lazy val types =
cross
.settings(
group("org.hammerlab"),
v"1.5.0",
dep(
cats,
shapeless,
spire
)
)
.jvmSettings(
http4s.version := "0.18.13",
dep(
// UrlTest runs a dummy server
http4s. dsl tests,
http4s.`blaze-server` tests
)
)
lazy val `types-x` = types.x
lazy val utils =
cross
.settings(
v"2.4.0",
dep(
cats,
shapeless,
spire
),
consolePkg("hammerlab.math")
)
.jvmSettings(
// a couple components depend on Java-only libraries and are only included in the JVM module
dep(
commons.math,
kryo tests
)
)
lazy val `utils-x` = utils.x
lazy val all =
root(
`cubic-x`,
`format-x`,
`quartic-x`,
`stats-x`,
`tolerance-x`,
`types-x`,
`utils-x`
)