-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (35 loc) · 1.12 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
ThisBuild / scalaVersion := "2.13.7"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.atheriault"
lazy val root = (project in file("."))
.settings(
crossPaths := false, // drop off Scala suffix from artifact names.
autoScalaLibrary := false,
name := "regex-automata",
javacOptions += "-Xlint",
Compile / doc / javacOptions -= "-Xlint",
scalacOptions ++= Seq(
"-encoding", "utf8",
"-deprecation",
"-unchecked",
"-Xlint",
),
libraryDependencies ++= Seq(
"org.ow2.asm" % "asm" % "9.2",
"org.scala-lang" % "scala-library" % scalaVersion.value % Test,
"org.scalatest" %% "scalatest" % "3.2.10" % Test,
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test,
"org.scalatestplus" %% "scalacheck-1-15" % "3.2.10.0" % Test,
),
)
lazy val bench = project
.dependsOn(root)
.enablePlugins(JmhPlugin)
lazy val tester = project
.dependsOn(root)
.settings(
crossPaths := false, // drop off Scala suffix from artifact names.
autoScalaLibrary := false,
name := "tester",
javacOptions += "-Xlint",
)