File tree 1 file changed +4
-1
lines changed
compilation/src/main/scala/scala/tools/nsc
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ class HotSbtBenchmark {
25
25
@ Param (value = Array (" " ))
26
26
var extraArgs : String = _
27
27
28
+ @ Param (value = Array (" 0.13.15" ))
29
+ var sbtVersion : String = _
30
+
28
31
// This parameter is set by ScalacBenchmarkRunner / UploadingRunner based on the Scala version.
29
32
// When running the benchmark directly the "latest" symlink is used.
30
33
@ Param (value = Array (" latest" ))
@@ -60,7 +63,7 @@ class HotSbtBenchmark {
60
63
scalaHome = Files .createTempDirectory(" scalaHome-" )
61
64
initDepsClasspath()
62
65
Files .createDirectory(tempDir.resolve(" project" ))
63
- Files .write(tempDir.resolve(" project/build.properties" ), java.util.Arrays .asList(" sbt.version=0.13.15 " ))
66
+ Files .write(tempDir.resolve(" project/build.properties" ), java.util.Arrays .asList(" sbt.version=" + sbtVersion ))
64
67
Files .write(tempDir.resolve(" build.sbt" ), buildDef.getBytes(" UTF-8" ))
65
68
val sbtLaucherPath = System .getProperty(" sbt.launcher" )
66
69
if (sbtLaucherPath == null ) sys.error(" System property -Dsbt.launcher absent" )
You can’t perform that action at this time.
0 commit comments