mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-30 21:40:52 +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)
|