mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
9 lines
243 B
Scala
9 lines
243 B
Scala
val version = scala.util.Properties.scalaPropOrElse("version.number", "unknown").toString match {
|
|
case "2.10.0" => "2.10"
|
|
case "2.10.2" => "2.10"
|
|
case "2.10.3" => "2.10"
|
|
case "2.10.4" => "2.10"
|
|
case e: String => e
|
|
}
|
|
println(version)
|