-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
35 lines (31 loc) · 1.03 KB
/
Copy pathbuild.sbt
File metadata and controls
35 lines (31 loc) · 1.03 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
34
35
import scala.scalanative.build._
ThisBuild / organization := "org.vennes"
ThisBuild / scalaVersion := "3.3.0"
lazy val catsEffectVersion = "3.5.1"
lazy val yahtzee = crossProject(JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("."))
.settings(
libraryDependencies ++= Seq(
// "core" module - IO, IOApp, schedulers
// This pulls in the kernel and std modules automatically.
"org.typelevel" %%% "cats-effect" % catsEffectVersion,
// concurrency abstractions and primitives (Concurrent, Sync, Async etc.)
"org.typelevel" %%% "cats-effect-kernel" % catsEffectVersion,
// standard "effect" library (Queues, Console, Random etc.)
"org.typelevel" %%% "cats-effect-std" % catsEffectVersion,
)
)
.nativeSettings(
nativeConfig ~= { config =>
config
.withMode(Mode.releaseSize)
}
)
lazy val root = project
.in(file("."))
.aggregate(yahtzee.jvm, yahtzee.native)
.settings(
publishLocal := {},
publish := {},
)