-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
38 lines (31 loc) · 978 Bytes
/
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
val commonSettings = Seq(
version := "0.6",
scalaVersion := "3.5.0",
crossScalaVersions := Seq("2.12.13", "2.13.4", "3.0.1", "3.2.0", "3.5.0"),
organization := "ch.epfl.lara",
)
lazy val silex = project
.in(file("."))
.settings(
commonSettings,
name := "silex",
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked"
),
Compile / doc / scalacOptions ++= Seq(
"-groups",
"-sourcepath", baseDirectory.value.getAbsolutePath,
"-doc-root-content", baseDirectory.value + "/project/root-doc.txt"
),
Compile / doc / target := baseDirectory.value / "docs",
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.9" % Test,
),
bintrayOrganization := Some("epfl-lara"),
licenses += ("Apache-2.0", url("https://opensource.org/licenses/Apache-2.0")),
bintrayPackageLabels := Seq(
"scala", "lexer", "lexing"
),
)