sbt/project
Eugene Yokota 2308d0a3a7 Fixes match error when using withDottyCompat
Fixes https://github.com/sbt/sbt/issues/6210

scodec-bits is published with pvp versionScheme (nice), this means that
we should just evaluate the version portion for pvp-ness, but I was
using `guessSecondSegment` that checks for Scala suffix. That's mistake
1.

`guessSecondSegment` assumes that the Scala suffix uses the given
ScalaModuleInfo, but with 2.13-3 sandwich we can't assume this.
In the reported case, Scala module is 3.0.0-M3 but scodec-bits uses
2.13. So that's mistake 2.

This attempts to correct both the mistakes.
1. Instead of `guessSecondSegment`, this adds a simpler `evalPvp`
function.
2. `guessSecondSegment` just looks for `_2.` or `_3` and ignores the
Scala module.
2020-12-19 17:08:24 -05:00
..
DatatypeConfig.scala Use Bintray for nightly 2020-11-15 00:58:52 -05:00
Dependencies.scala Update Ivy to the latest version 2020-11-22 09:41:25 +01:00
HouseRulesPlugin.scala Use Bintray for nightly 2020-11-15 00:58:52 -05:00
SbtScriptedIT.scala in-source sbt-houserules 2019-10-19 19:53:11 -04:00
Util.scala Use Bintray for nightly 2020-11-15 00:58:52 -05:00
build.properties Fixes match error when using withDottyCompat 2020-12-19 17:08:24 -05:00
plugins.sbt Util 1.4.0 2020-10-04 12:42:46 -04:00