mirror of https://github.com/sbt/sbt.git
sbt 1 removes CrossVersion.binaryMapped which was used in the sbt-dotty plugin to provide a way to depend on Scala 2.x artifacts in a project that cross-compiles between Scala 2.x and Dotty (see `withDottyCompat()` in https://github.com/lampepfl/dotty/blob/master/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala). Using `binaryWith` is not enough because it only allows the user to specify a prefix and a suffix for the binary version which will always be set to `scalaBinaryVersion`. This commit introduces a new `Constant` kind of CrossVersion which allows the user to specify any string he wants as a cross-version, thus making it possible to port `withDottyCompat()` to sbt 1. |
||
|---|---|---|
| librarymanagement | ||
| project | ||
| .gitignore | ||
| .java-version | ||
| .scalafmt.conf | ||
| .travis.yml | ||
| README.md | ||
| build.sbt | ||
| sbt-allsources.sh | ||
README.md
librarymanagement module for sbt
git clone --no-hardlinks --branch 0.13 sbt sbt-modules/librarymanagement
cd sbt-modules/librarymanagement
git filter-branch --index-filter 'git rm --cached -qr -- . && git reset -q $GIT_COMMIT -- ivy util/cross' --prune-empty
git reset --hard
git gc --aggressive
git prune
git cb 1.0