I'm trying to cross-build an sbt plugin between 0.13
and 1.1
. To accomplish this I need to use different libraryDependencies
for the different builds, but I can't find a way to access the current build's target sbt version.
Back when the cross compilation was in a plugin there was CrossBuilding.pluginSbtVersion
but I can't find anything similar anymore.
sbtVersion.value
always gives me0.13.16
(sbtVersion in sbtPlugin)
likewisecrossVersion
always gives meBinary
scalaBinaryVersion
always gives me2.10
How can I do this?