Skip to content

Commit aab9675

Browse files
committed
Merge pull request #153 from SethTisue/issue/142
explicitly set Scala version for building Scala modules
2 parents 383ad7c + 48f487c commit aab9675

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

community.dbuild

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ build += {
3434
uri: "https://github.com/"${vars.scala-ref}
3535
extra.build-options: ["-Dlocker.skip=1", "-Ddocs.skip=1"] // speed things up a little
3636
}
37+
// override scalaVersion in the modules since otherwise we get
38+
// whatever random Scala version the module has -- it might be a
39+
// 2.12.x version, we don't want that!
3740
{
3841
name: "scala-xml"
3942
uri: "https://github.com/"${vars.scala-xml-ref}
43+
extra.commands: "set scalaVersion := \"2.11.7\""
4044
}
4145
{
4246
name: "scala-parser-combinators"
4347
uri: "https://github.com/"${vars.scala-parser-combinators-ref}
48+
extra.commands: "set scalaVersion := \"2.11.7\""
4449
}
4550
]
4651
}

0 commit comments

Comments
 (0)