mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
added version checking to avoid runtime scala incompatibilities
This commit is contained in:
parent
189569518d
commit
b6b28bb1a2
5
bin/Version.scala
Normal file
5
bin/Version.scala
Normal file
@ -0,0 +1,5 @@
|
||||
val version = scala.util.Properties.scalaPropOrElse("version.number", "unknown").toString match {
|
||||
case "2.10.0" => "2.10"
|
||||
case e: String => e
|
||||
}
|
||||
println(version)
|
Loading…
x
Reference in New Issue
Block a user