Is it possible to cross-compile scala versions like you can in sbt?


(Andrew Headrick) #1

Is it possible to cross compile multiple scala versions like sbt? I would like to produce a 2.9.2 build and a 2.10.3 build.

Thanks, Andrew


(Peter Niederwieser) #2

It’s not a built-in feature, but with some scripting you can get pretty far. In my “Polyglot Gradle” talk I present a proof-of-concept. Videos of the talk are available online (e.g. from http://skillsmatter.com/podcast/agile-testing/polyglot-gradle-java-groovy-scala-and-beyond), but I’m not sure about the slides/code.


(Andrew Headrick) #3

Ill check it out. Thanks

Andrew