-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
180 lines (139 loc) · 6.16 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
import implicits._
import Dependencies._
name := "scala-rpc"
scalaVersion := fullScalaVersion
parallelExecution in ThisBuild := false
//common rpc
lazy val `test-common` = project.common.tests("compile")
.dependsOn(`scalether-domain`)
lazy val util = project.common
lazy val domain = project.common
.dependsOn(util)
lazy val `domain-test` = project.common
.dependsOn(domain)
lazy val cats = project.common
.settings(organization := "org.ethereum.cats")
lazy val `cats-mono` = project.common
.settings(organization := "org.ethereum.cats")
.dependsOn(cats)
lazy val core = project.common
.dependsOn(domain, cats)
lazy val `core-mono` = project.common
.dependsOn(core)
lazy val `transport-try` = (project in file("transport/try"))
.transport
.dependsOn(core, `test-common` % "test")
lazy val `transport-id` = (project in file("transport/id"))
.transport
.dependsOn(core, `test-common` % "test")
lazy val `transport-mono` = (project in file("transport/mono"))
.transport
.tests()
.dependsOn(`core-mono`, `test-common` % "test")
lazy val `transport-sttp` = (project in file("transport/sttp"))
.transport
.dependsOn(core, `test-common` % "test")
//blockchain common
lazy val `blockchain-poller` = (project in file("blockchain/poller"))
.tests()
.blockchain
.dependsOn(cats)
lazy val `blockchain-poller-mono` = (project in file("blockchain/poller-mono"))
.tests()
.blockchain
.dependsOn(`blockchain-poller`, `cats-mono`)
lazy val `blockchain-listener` = (project in file("blockchain/listener"))
.blockchain
.tests()
.dependsOn(domain, `blockchain-poller`)
lazy val `blockchain-listener-mono` = (project in file("blockchain/listener-mono"))
.blockchain
.tests()
.dependsOn(`blockchain-listener`, `blockchain-poller-mono`)
//bitcoin
lazy val `bitcoin-domain` = (project in file("bitcoin/domain"))
.bitcoin
.tests()
.dependsOn(domain)
lazy val `bitcoin-core` = (project in file("bitcoin/core"))
.bitcoin
.dependsOn(core, `bitcoin-domain`, cats, `test-common` % "test")
lazy val `bitcoin-core-mono` = (project in file("bitcoin/core-mono"))
.bitcoin
.dependsOn(`bitcoin-core`, `core-mono`, `bitcoin-domain`, `cats-mono`, `test-common` % "test")
lazy val `bitcoin-listener` = (project in file("bitcoin/listener"))
.bitcoin
.dependsOn(`blockchain-listener`, `bitcoin-core`, `test-common` % "test")
lazy val `bitcoin-listener-mono` = (project in file("bitcoin/listener-mono"))
.bitcoin
.dependsOn(`bitcoin-listener`, `blockchain-listener-mono`, `bitcoin-core-mono`, `test-common` % "test")
lazy val `bitcoin-test` = (project in file("bitcoin/test"))
.bitcoin
.dependsOn(`bitcoin-listener-mono`, `transport-try`, `transport-mono`, `test-common` % "test")
.settings(skip in publish := true)
//scalether
lazy val `scalether-crypto` = (project in file("scalether/crypto"))
.scalether
.dependsOn(util)
.tests()
lazy val `scalether-util` = (project in file("scalether/util"))
.scalether
.dependsOn(`scalether-crypto`)
.tests()
lazy val `scalether-domain-test` = (project in file("scalether/domain-test"))
.scalether
.dependsOn(`domain-test`, `scalether-domain`)
.tests()
lazy val `scalether-domain` = (project in file("scalether/domain"))
.scalether
.tests()
.dependsOn(domain, `scalether-util`)
lazy val `scalether-core` = (project in file("scalether/core"))
.scalether
.dependsOn(core, `scalether-util`, `scalether-domain`, cats, `test-common` % "test")
lazy val `scalether-core-mono` = (project in file("scalether/core-mono"))
.scalether
.dependsOn(`scalether-core`, `core-mono`, `cats-mono`, `test-common` % "test")
lazy val `scalether-abi` = (project in file("scalether/abi"))
.scalether
.dependsOn(`scalether-core`, `test-common` % "test")
lazy val `scalether-transaction` = (project in file("scalether/transaction"))
.scalether
.dependsOn(`blockchain-poller`, `scalether-core`, `test-common` % "test")
lazy val `scalether-transaction-mono` = (project in file("scalether/transaction-mono"))
.scalether
.dependsOn(`scalether-transaction`, `blockchain-poller-mono`, `scalether-core-mono`, `test-common` % "test")
lazy val `scalether-listener` = (project in file("scalether/listener"))
.scalether
.dependsOn(`blockchain-listener`, `scalether-core`, `test-common` % "test")
lazy val `scalether-listener-mono` = (project in file("scalether/listener-mono"))
.scalether
.dependsOn(`scalether-listener`, `blockchain-listener-mono`, `scalether-core-mono`, `test-common` % "test")
lazy val `scalether-contract` = (project in file("scalether/contract"))
.scalether
.dependsOn(`scalether-abi`, `scalether-transaction`, `test-common` % "test")
lazy val `scalether-contract-mono` = (project in file("scalether/contract-mono"))
.scalether
.dependsOn(`scalether-contract`, `scalether-abi`, `scalether-transaction-mono`, `test-common` % "test")
lazy val `scalether-generator` = (project in file("scalether/generator"))
.scalether
.dependsOn(`scalether-crypto`, `test-common` % "test")
lazy val `scalether-transport-mono` = (project in file("scalether/transport-mono"))
.scalether
.tests()
.dependsOn(`scalether-core-mono`, `transport-mono`, `scalether-transaction-mono` % "test")
lazy val `scalether-test` = (project in file("scalether/test"))
.scalether
.dependsOn(`scalether-contract-mono`, `scalether-listener-mono`, `transport-try`, `test-common` % "test", `transport-mono`)
.settings(skip in publish := true)
lazy val root = (project in file("."))
.common
.settings(skip in publish := true)
.aggregate(
util, domain, `domain-test`, cats, `cats-mono`, core, `core-mono`,
`transport-try`, `transport-sttp`, `transport-mono`, `transport-id`,
`blockchain-poller`, `blockchain-poller-mono`, `blockchain-listener`, `blockchain-listener-mono`,
`scalether-crypto`, `scalether-util`, `scalether-domain`, `scalether-core`, `scalether-core-mono`, `scalether-abi`, `scalether-transaction`, `scalether-transaction-mono`,
`scalether-listener`, `scalether-listener-mono`, `scalether-contract`, `scalether-contract-mono`, `scalether-generator`, `scalether-test`, `scalether-transport-mono`,
`bitcoin-domain`, `bitcoin-core`, `bitcoin-listener`, `bitcoin-core-mono`, `bitcoin-listener-mono`, `scalether-domain-test`
)