-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (29 loc) · 1.39 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
// val scala3Version = "3.2.2-RC1-bin-20221003-5d1497d-NIGHTLY"
val scala3Version = "3.2.0"
lazy val catsParseVersion = "0.3.6"
lazy val munitVersion = "0.7.29"
lazy val root = project
.in(file("."))
.settings(
name := "gql4s",
version := "0.1.0-SNAPSHOT",
scalaVersion := scala3Version,
scalacOptions ++= Seq(
"-encoding",
"utf-8", // Specify character encoding used by source files.
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-explain", // Explain errors in more detail
"-explain-types", // Explain type errors in more detail
"-indent", // Allow significant indentation.
"-new-syntax" // Require `then` and `do` in control expressions.
// "-language:experimental.fewerBraces"
),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-parse" % catsParseVersion,
"org.scalameta" %% "munit" % munitVersion % Test
),
// testFrameworks += new TestFramework("munit.Framework"),
Test / parallelExecution := false
)