-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
40 lines (33 loc) · 1.72 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
lazy val Benchmark = config("bench") extend Test
lazy val root = project
.in(file("."))
.settings(
name := "dotty-simple",
version := "0.1.0",
resolvers ++= Seq(
Resolver.mavenLocal,
"Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
),
scalaVersion := "3.0.0-M3", // "0.21.0-RC1", //"0.22.0-bin-20200114-193f7de-NIGHTLY", //dottyLatestNightlyBuild.get,
scalacOptions ++= Seq(
"-language:implicitConversions"
),
libraryDependencies ++= Seq(
("com.storm-enroute" %% "scalameter" % "0.20").withDottyCompat(scalaVersion.value),
// .excludeAll(ExclusionRule(organization="com.trueaccord.scalapb")
("com.lihaoyi" %% "pprint" % "0.5.6").withDottyCompat(scalaVersion.value),
//("io.getquill" %% "quill-core-portable" % "minor_quat_fixes_3-SNAPSHOT").withDottyCompat(scalaVersion.value),
//("io.getquill" %% "quill-sql-portable" % "minor_quat_fixes_3-SNAPSHOT").withDottyCompat(scalaVersion.value),
////("org.scalameta" %% "scalafmt-dynamic" % "2.7.4").withDottyCompat(scalaVersion.value),
////("org.scalameta" %% "scalafmt-cli" % "2.7.4").withDottyCompat(scalaVersion.value),
////"org.scala-lang" % "scala3-library_3.0.0-M3" % (scalaVersion.value),
//"org.scalatest" % "scalatest_3.0.0-M3" % "3.2.3" % "test",
//"org.scalatest" % "scalatest-mustmatchers_3.0.0-M3" % "3.2.3" % "test"
),
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
parallelExecution in Benchmark := false,
logBuffered := false
)
.configs(Benchmark).settings(inConfig(Benchmark)(Defaults.testSettings): _*
)