-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
33 lines (27 loc) · 1.17 KB
/
Copy pathbuild.sbt
File metadata and controls
33 lines (27 loc) · 1.17 KB
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
name := "resplit"
scalaVersion := "3.2.2"
// This tells our project
enablePlugins(ScalaNativePlugin)
// defaults set with common options shown
nativeConfig ~= { configuration =>
configuration
// https://scala-native.org/en/stable/user/sbt.html#garbage-collectors
.withLTO(scala.scalanative.build.LTO.none)
// https://scala-native.org/en/stable/user/sbt.html#compilation-modes
.withMode(scala.scalanative.build.Mode.debug)
// https://scala-native.org/en/stable/user/sbt.html#garbage-collectors
.withGC(scala.scalanative.build.GC.commix)
}
libraryDependencies ++= Seq(
"co.fs2" %%% "fs2-core" % "3.8.0",
"co.fs2" %%% "fs2-io" % "3.8.0",
"org.typelevel" %%% "cats-effect" % "3.4.8",
"org.typelevel" %%% "cats-core" % "2.9.0",
"com.github.scopt" %%% "scopt" % "4.1.0",
"com.lihaoyi" %%% "pprint" % "0.8.1",
"org.typelevel" %%% "munit-cats-effect" % "2.0.0-M3" % Test
)
// I often declare and do not use things while developing
tpolecatExcludeOptions ++= ScalacOptions.warnUnusedOptions
// set to Debug for compilation details (Info is default)
logLevel := Level.Info