Open evdokim opened 11 years ago
I remember having some issues with this.
@eparejatobes It seems that by default sbt use exact version in launchconfig, and these guy publish their stuff with with full versions: https://oss.sonatype.org/content/repositories/releases/net/databinder/
I have couple of solutions for using conscript with 2.10
:
// in build.sbt
scalaVersion := "2.10.0"
scalaBinaryVersion := "2.10.0"
this is the first one. It requires not to use %%
in libraryDependencies
, but write explicitly "org" % "artifact_2.10" % "version"
. And for your tool as dependency in other projects, the other way round, with suffix _2.10.0
.
Second solution was to change conscript config, see here how if curious — I've tried it for a while but then ran into some issues, which I don't remember, I think it was about using this srtifact somewhere else.. Anyway, you can try both if you want. Now I use first approach for gener8bundle
and it's ok.
@laughedelic yes, second option works fine) Also I realized that conscript is just wrapper for something like:
java -jar sbt-launch.jar @./src/main/conscript/nisperoCLI/launchconfig
@eparejatobes @laughedelic I don't understand how conscript use scala version option in application config. For example here specified full version of scala ("2.9.2") and in the end I can't retrieve this application:
But when I use only major version like "2.10", I have problem with scala compiler interface:
I use latest version version of cs and install it in this way: