mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-20 02:11:40 +01:00
0309675528
- separate Java source copied from libsecp256k1 into separate module - split main module into core core-gen core-test - generators can be published separated to core code for use in 3rd-party tests - code coverage needs to be aggregated
46 lines
667 B
Scala
46 lines
667 B
Scala
|
|
lazy val root = project
|
|
.in(file("."))
|
|
.aggregate(
|
|
secp256k1jni,
|
|
core,
|
|
coreGen,
|
|
coreTest,
|
|
zmq
|
|
)
|
|
|
|
lazy val secp256k1jni = project
|
|
.in(file("secp256k1jni"))
|
|
.enablePlugins()
|
|
|
|
lazy val core = project
|
|
.in(file("core"))
|
|
.enablePlugins()
|
|
.dependsOn(
|
|
secp256k1jni
|
|
)
|
|
|
|
lazy val coreGen = project
|
|
.in(file("core-gen"))
|
|
.enablePlugins()
|
|
.dependsOn(
|
|
core
|
|
)
|
|
|
|
lazy val coreTest = project
|
|
.in(file("core-test"))
|
|
.enablePlugins()
|
|
.dependsOn(
|
|
core,
|
|
coreGen % "test->test"
|
|
)
|
|
|
|
lazy val zmq = project
|
|
.in(file("zmq"))
|
|
.enablePlugins()
|
|
.dependsOn(
|
|
core
|
|
)
|
|
|
|
publishArtifact in root := false
|