-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
31 lines (27 loc) · 793 Bytes
/
Copy pathbuild.sbt
File metadata and controls
31 lines (27 loc) · 793 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
26
27
28
29
30
31
import Settings.module
ThisBuild / version := "0.1"
ThisBuild / organization := "io.github.oybek.playcs"
ThisBuild / scalaVersion := "3.2.0"
ThisBuild / scalacOptions ++= Seq(
"-encoding",
"utf8",
"-feature",
"-Xfatal-warnings",
"-deprecation",
"-unchecked",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:postfixOps",
"-source:future",
"-language:adhocExtensions"
)
lazy val common = module("common", file("common"))
lazy val playcs = module("playcs", file("playcs"), common)
.settings(assembly / assemblyJarName := "app.jar")
Global / concurrentRestrictions += Tags.limit(Tags.Test, 1)
lazy val testAll = taskKey[Unit]("Run all tests")
testAll := {
(common / Test / test).value
(playcs / Test / test).value
}