mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-07 20:19:01 +00:00
7 lines
223 B
Scala
7 lines
223 B
Scala
val version = scala.util.Properties.scalaPropOrElse("version.number", "unknown").toString match {
|
|
case s if s startsWith "2.10" => "2.10"
|
|
case s if s startsWith "2.11" => "2.11"
|
|
case e: String => e
|
|
}
|
|
println(version)
|