z_wyra
Last Updated: February 25, 2016
·
796
· laughedelic

Workaround for using scala 2.10 in Conscript app

The problem is that when you write in your build.sbt

scalaVersion := "2.10.0"

artifact is published with _2.10 suffix, but conscript tries to get it with _2.10.0 suffix and fails.

One solution is to add scalaBinaryVersion := "2.10.0", but it's bad, because causes problems with depenedcies management.

Another solution is to change conscript launchconfig:

[app]
   ...
   name: foo_2.10
   cross-versioned: false
[scala]
   version: 2.10.0

Essential is suffix in the name and cross-versioned: false option.