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.
Written by Alexey Alekhin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Scala
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#