-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathbuild.sbt
More file actions
41 lines (38 loc) · 1.13 KB
/
build.sbt
File metadata and controls
41 lines (38 loc) · 1.13 KB
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
val commonSettings = Seq(
scalacOptions := Seq(
"-encoding",
"utf-8",
"-explaintypes",
"-Wunused:all",
"-feature",
"-language:postfixOps",
"-indent",
"-rewrite",
"-source:future-migration",
"-release:21"
)
)
lazy val root = (project in file("."))
.settings(
commonSettings,
scalaVersion := "3.8.2",
name := "compression",
organization := "org.lichess",
version := "3.2.1",
resolvers += "lila-maven".at("https://raw.githubusercontent.com/ornicar/lila-maven/master"),
libraryDependencies += "org.specs2" %% "specs2-core" % "4.17.0" % Test
)
lazy val benchmarks = (project in file("benchmarks"))
.settings(
commonSettings,
name := "compression-benchmarks",
scalaVersion := "3.8.2",
publish / skip := true,
libraryDependencies ++= Seq(
"org.openjdk.jmh" % "jmh-core" % "1.37" % "compile",
"org.openjdk.jmh" % "jmh-generator-annprocess" % "1.37" % "compile"
)
)
.dependsOn(root)
.enablePlugins(JmhPlugin)
publishTo := Some(Resolver.file("file", new File(sys.props.getOrElse("publishTo", ""))))