Skip to content

Commit b6b28bb

Browse files
committed
added version checking to avoid runtime scala incompatibilities
1 parent 1895695 commit b6b28bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/Version.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
val version = scala.util.Properties.scalaPropOrElse("version.number", "unknown").toString match {
2+
case "2.10.0" => "2.10"
3+
case e: String => e
4+
}
5+
println(version)

0 commit comments

Comments
 (0)