-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
46 lines (40 loc) · 1.04 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
import Dependencies.*
name := "cleareth"
ThisBuild / githubOwner := "LedgerHQ"
ThisBuild / githubRepository := "cleareth"
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / organization := "co.ledger"
ThisBuild / scalaVersion := "3.3.1"
addCommandAlias("compileall", ";clean;compile;test:compile;scalafmtAll")
ThisBuild / scalacOptions ++= Seq(
"-Werror",
"-Wunused:all",
"-deprecation"
)
lazy val dependencies = Seq(
libraryDependencies ++= Seq(
`bcprov-jdk18on`,
`cats-core`,
`iron`,
`scodec-core`
),
libraryDependencies ++= Seq(
`munit`,
`munit-cats-effect-3`,
`scalacheck-1-17`,
`scalaTest`
).map(_ % Test)
)
lazy val `evm-model` =
project
.in(file("model"))
.settings(name := "evm-model")
.settings(dependencies)
.enablePlugins(JavaServerAppPackaging)
lazy val `evm-codec` =
project
.in(file("codec"))
.settings(name := "evm-codec")
.settings(dependencies)
// .dependsOn(`evm-model`)
.enablePlugins(JavaServerAppPackaging)