How to cross compile and publish project for different versions of Scala?

I need to compile a gradle projects with both scala 2.10 and scala 2.11, So any dependencies can select the right dependency based on their versions.

Any thoughts on how i can do this, Is there an example ? I tried to find it in documentation.

1 Like