-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (38 loc) · 1.11 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 Dependencies._
ThisBuild / organization := "com.estebanmarin"
ThisBuild / scalaVersion := "3.0.1"
ThisBuild / scalacOptions ++=
Seq(
"-deprecation",
"-feature",
"-language:implicitConversions",
"-unchecked",
"-Xfatal-warnings",
"-Yexplicit-nulls", // experimental (I've seen it cause issues with circe)
"-Ykind-projector",
"-Ysafe-init", // experimental (I've seen it cause issues with circe)
) ++ Seq("-rewrite", "-indent") ++ Seq("-source", "future")
lazy val `playground3` =
project
.in(file("."))
.settings(name := "playground3")
.settings(commonSettings)
.settings(dependencies)
lazy val commonSettings = Seq(
update / evictionWarningOptions := EvictionWarningOptions.empty,
Compile / console / scalacOptions --= Seq(
"-Wunused:_",
"-Xfatal-warnings",
),
Test / console / scalacOptions :=
(Compile / console / scalacOptions).value,
)
lazy val dependencies = Seq(
libraryDependencies ++= Seq(
// main dependencies
),
libraryDependencies ++= Seq(
org.scalatest.scalatest,
org.scalatestplus.`scalacheck-1-15`,
).map(_ % Test),
)