-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.sbt
43 lines (39 loc) · 1.03 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
import sbtcrossproject.CrossPlugin.autoImport.{CrossType, crossProject}
import scalanative.build._
ThisBuild / scalaVersion := "3.3.4"
publish / skip := true
inThisBuild(
Seq(
// publish settings
organization := "ch.epfl.lamp",
homepage := Some(url("https://lampepfl.github.io/gears")),
licenses := List(License.Apache2),
developers := List(
Developer("natsukagami", "Natsu Kagami", "[email protected]", url("https://github.com/natsukagami"))
)
)
)
lazy val root =
crossProject(JVMPlatform, NativePlatform)
.crossType(CrossType.Full)
.in(file("."))
.settings(
Seq(
name := "Gears",
versionScheme := Some("early-semver"),
libraryDependencies += "org.scalameta" %%% "munit" % "1.0.2" % Test,
testFrameworks += new TestFramework("munit.Framework")
)
)
.jvmSettings(
Seq(
javaOptions += "--version 21"
)
)
.nativeSettings(
Seq(
nativeConfig ~= { c =>
c.withMultithreading(true)
}
)
)