giter8 icon indicating copy to clipboard operation
giter8 copied to clipboard

Find the latest scala version

Open raboof opened this issue 7 years ago • 1 comments

Similar to http://www.foundweekends.org/giter8/template.html#Maven+properties, it would be cool if we could automatically find the latest Scala version in a tree, e.g. scala(2.12) (currently) producing 2.12.7. Or is there some way to achieve this already?

raboof avatar Nov 09 '18 10:11 raboof

this works for me

default.properties scala_version = maven(org.scala-lang, scala-library, stable)

build.sbt scalaVersion := "$scala_version$"

anilkumarmyla avatar Mar 13 '19 21:03 anilkumarmyla

Also

scala_version = maven(org.scala-lang, scala-library, stable)

works for us since many years.

I think this can be closed.

mkurz avatar Mar 03 '23 21:03 mkurz

lol I've been using that for ages as well, completely forgot about (closing) this issue ;)

raboof avatar Mar 04 '23 08:03 raboof