Is there a simple way to compare versions in sbt build files without handcrafting. E.g.
scalacOptions <++= scalaVersion { sv =>
if (sv >= "2.10.0") "-feature" :: Nil else Nil
}
(The above compiles, but for some reason "2.9.2" >= "2.10.0"
... ?!)