forked from j-mie6/parsley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
43 lines (37 loc) · 1.1 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
val projectName = "parsley"
inThisBuild(List(
organization := "parsley",
homepage := Some(url("https://github.com/J-mie6/parsley")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"J-mie6",
"Jamie Willis",
url("https://github.com/J-mie6")
)
)
))
val scala212Version = "2.12.12"
val scala213Version = "2.13.3"
val scala3Version = "0.27.0-RC1"
Global / onChangedBuildSource := ReloadOnSourceChanges
lazy val root = project.in(file("."))
.settings(
name := projectName,
libraryDependencies ++= Seq(
"org.scalactic" %% "scalactic" % "3.2.2" % Test,
"org.scalatest" %% "scalatest" % "3.2.2" % Test
),
scalaVersion := scala213Version,
crossScalaVersions := (scalaVersion.value :: List(scala212Version, scala3Version)),
scalacOptions ++= Seq("-deprecation", "-unchecked"),
scalacOptions ++= {
if (isDotty.value)
Seq(
"-language:implicitConversions",
"-source:3.0-migration"
)
else Seq.empty
}
)