File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+
12name := " compiler-benchmark"
23
34version := " 1.0-SNAPSHOT"
@@ -26,11 +27,13 @@ resolvers in ThisBuild ++= (
2627 if (scalaVersion.value.endsWith(" -SNAPSHOT" ))
2728 List (
2829 " pr-scala snapshots" at " https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/" ,
29- Resolver .mavenLocal )
30+ )
3031 else
3132 Nil
3233)
3334
35+ resolvers in ThisBuild += Resolver .mavenLocal
36+
3437lazy val infrastructure = addJmh(project).settings(
3538 description := " Infrastrucuture to persist benchmark results annotated with metadata from Git" ,
3639 autoScalaLibrary := false ,
@@ -61,7 +64,7 @@ lazy val compilation = addJmh(project).settings(
6164 mainClass in (Jmh , run) := Some (" scala.bench.ScalacBenchmarkRunner" ),
6265 libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
6366 testOptions in Test += Tests .Argument (TestFrameworks .JUnit ),
64- fork in (Test , test) := true // jmh scoped tasks run with fork := true.
67+ fork in (Test , test) := true , // jmh scoped tasks run with fork := true.
6568).settings(addJavaOptions).dependsOn(infrastructure)
6669
6770lazy val micro = addJmh(project).settings(
Original file line number Diff line number Diff line change 11// Comment to get more information during initialization
22logLevel := Level .Warn
33
4+ resolvers += Opts .resolver.sonatypeSnapshots
5+
46// sbt-jmh plugin - pulls in JMH dependencies too
5- addSbtPlugin(" pl.project13.scala" % " sbt-jmh" % " 0.4.0 " )
7+ addSbtPlugin(" pl.project13.scala" % " sbt-jmh" % " 0.4.2 " )
68
79// sbt-dotty plugin - to support `scalaVersion := "0.x"`
810addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.4.2" )
You can’t perform that action at this time.
0 commit comments