-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
25 lines (24 loc) · 731 Bytes
/
build.sbt
File metadata and controls
25 lines (24 loc) · 731 Bytes
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
val scala3Version = "3.1.1"
lazy val startupTransition: State => State = "writeHooks" :: _
lazy val root = project
.in(file("."))
.settings(
name := "scala-project",
assembly / assemblyJarName := "scala-project.jar",
scalaVersion := scala3Version,
Global / onLoad := {
val old = (Global / onLoad).value
startupTransition compose old
},
jacocoReportSettings := JacocoReportSettings(
"Jacoco Coverage Report",
None,
JacocoThresholds(),
Seq(JacocoReportFormats.ScalaHTML, JacocoReportFormats.XML),
"utf-8"
),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.13" % Test,
"org.scalameta" %% "munit" % "0.7.29" % Test
)
)