Commit Graph

135 Commits

Author SHA1 Message Date
João Ferreira 65b4130e6b
Update plugins.sbt 2020-12-21 13:47:50 +00:00
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
Erwan Queffélec 8b12c2bfa6 Update Ivy to the latest version 2020-11-22 09:41:25 +01:00
Eugene Yokota 349a4134e5 Use Bintray for nightly 2020-11-15 00:58:52 -05:00
Eugene Yokota f8f9ed0c67 Nightly setup 2020-11-14 19:46:04 -05:00
Eugene Yokota f63adb4a8a Util 1.4.0 2020-10-04 12:42:46 -04:00
Eugene Yokota c1dbeca90f Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad 2020-05-28 00:48:36 -04:00
eugene yokota 3b3aa2f495
Merge pull request #331 from eed3si9n/wip/contraband_
Bump Contraband
2020-04-06 18:26:03 -04:00
Eugene Yokota fd71e8cb17 Bump Contraband 2020-04-06 18:15:46 -04:00
Eugene Yokota ab06affe7c Bump util 2020-04-06 18:15:29 -04:00
Eugene Yokota 2d6f102f9a Ivy 2.3.0-sbt-fa726854dd30be842ff9e6d2093df6adfe3871f5
Fixes https://github.com/sbt/sbt/issues/2366
2020-02-22 15:30:26 -05:00
Eugene Yokota e77dc68e34 bump sbt and IO 2019-12-28 16:09:02 -05:00
Eugene Yokota ea9d382b89 add hook for nightly build 2019-12-28 16:04:18 -05:00
Eugene Yokota 6200255eed ivy 2.3.0-sbt-88d6a93d15f9b029958c1c289a8859e8dfe31a19 2019-10-20 11:42:41 -04:00
Eugene Yokota 6807e91edd Scala 2.12.10 2019-10-19 19:59:13 -04:00
Eugene Yokota e0d2455982 sbt 1.3.3 2019-10-19 19:56:19 -04:00
Eugene Yokota 8aeb43fc11 in-source sbt-houserules 2019-10-19 19:53:11 -04:00
Eugene Yokota 4a1b6232e4 deprecate CrossVersion.Disabled 2019-08-22 13:11:10 -04:00
Eugene Yokota 153ac7161d bump modules 2019-08-18 23:56:20 -04:00
Eugene Yokota 8c16fd0edf switch to using scala-verify 2019-08-14 12:32:49 -04:00
Eugene Yokota ef4311acc8 Gigahorse 0.5.0 2019-06-18 23:10:35 -04:00
Eugene Yokota d15b406d14 util 1.3.0-M7 2019-05-13 13:40:52 -04:00
Eugene Yokota 3a0ce65362 IO 1.3.0-M10, and nightly version
Fixes #305
2019-05-11 19:49:04 -04:00
Eugene Yokota 511dafb0e8 sbt 1.3.0-M3 2019-05-09 17:57:31 -04:00
Eugene Yokota 180af46fe5 bump plugins 2019-04-29 23:31:20 -04:00
Eugene Yokota 8c01d9f215 bump to Gigahorse 0.4.0 2019-04-04 00:19:34 -04:00
Eugene Yokota 2f8d9ad8ca move CrossVersion to src/
Fixes sbt/sbt#4595
Ref #290
Ref #280

This is bit of an odd one.

To keep bincompat and also to fix sbt 0.13 compatibility issue we have made `Disabled` companion object extend `Disabled` type.
This actually created a subtle deserialization issue:

```
[error] scala.MatchError: Disabled() (of class sbt.librarymanagement.Disabled$)
[error] 	at sjsonnew.FlatUnionFormats$$anon$5.write(FlatUnionFormats.scala:220)
[error] 	at sjsonnew.JsonWriter.addField(JsonFormat.scala:40)
[error] 	at sjsonnew.JsonWriter.addField$(JsonFormat.scala:37)
[error] 	at sjsonnew.FlatUnionFormats$$anon$5.addField(FlatUnionFormats.scala:208)
[error] 	at sjsonnew.Builder.addField(Builder.scala:43)
[error] 	at sbt.librarymanagement.ModuleIDFormats$$anon$1.write(ModuleIDFormats.scala:46)
```

This is because Contraband generates `flatUnionFormat5[CrossVersion, Disabled, ...]` for all of the subtypes of `CrossVersion`, which uses the runtime type information. Now that `Disabled` object is also in the mix, this created JSON that `CrossVersionFormats` cannot deserialize. This brings the code into src/ so we can write this part manually.
2019-04-01 23:35:39 -04:00
Eugene Yokota 83a28b0b3d bump IO and Util 2019-03-22 13:53:17 -04:00
Eugene Yokota 7f19274304 sbt 1.2.8 2019-03-22 13:47:32 -04:00
Eugene Yokota 75c319e6bb make object Disabled extend Disabled
Ref https://github.com/sbt/librarymanagement/pull/280

This is to workaround bincompat error detected by sbt community build.

```
[cats] [error] java.lang.NoSuchMethodError: sbt.librarymanagement.CrossVersion$.Disabled()Lsbt/librarymanagement/Disabled$;
```
2019-01-23 15:06:47 -05:00
Eugene Yokota e36ddd64ab Bump Ivy
Ref https://github.com/sbt/ivy/pull/31
2018-12-28 17:15:43 -05:00
Eugene Yokota 08b8491c7f Bump IO and Util 2018-10-29 14:25:01 -04:00
andrea d18c37974a going on, everything but sbt-plugins looks working 2018-10-16 12:31:07 +01:00
andrea e1ce3a07c5 compilation and tests are ok 2018-10-15 10:34:14 +01:00
Leonard Ehrenfried ed25bcba43 Add implementation of coursier 2018-10-15 10:24:34 +01:00
Eugene Yokota cb92556c7f sbt-scalafmt 0.15 to align with sbt/sbt 2018-10-15 03:10:00 -04:00
andrea 8b53d4a5c1 Scripted integration test infrastructure with Sbt 2018-10-12 09:18:17 +01:00
Eugene Yokota b0ea8ec55f Scala 2.12.7 2018-09-28 04:50:55 -04:00
Eugene Yokota 7c1caaf079 sbt 1.2.3 2018-09-28 04:33:50 -04:00
Eugene Yokota 949b5ec4ba Merge branch '1.2.x' into wip/merge-1.2.x 2018-09-28 04:33:26 -04:00
Eugene Yokota 02475c7a66 -Xfatal-warnings 2018-09-21 01:16:55 -04:00
Eugene Yokota 98f15d8c8a 1.2.1-SNAPSHOT 2018-08-01 00:13:09 -04:00
Eugene Yokota 5dd1e6adc3 Util 1.2.0 2018-07-29 20:34:40 -04:00
Sean Sullivan 127241f2c6 cleanup plugins.sbt 2018-06-28 05:59:58 -07:00
Eugene Yokota e97c79a243 IO 1.2.0-M2 2018-06-26 19:24:25 -04:00
Eugene Yokota 8e1e1e8121 IO, Util 1.2.0-M1 2018-06-18 04:46:51 -04:00
Eugene Yokota 6b86d05ce6 sbt-houserules 0.3.7 2018-06-14 02:22:38 -04:00
Eugene Yokota c0a0b7db0c Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-14 01:42:01 -04:00
Eugene Yokota 3b6df7d105 Scala 2.12.6 and other dependencies
sbt 1.1.4
Scala 2.12.6
ScalaCheck 1.14.0
ScalaTest 3.0.5
2018-04-28 03:58:44 -04:00
Jason Zaugg 58bb203858 Upgrade to latest sbt-houserules 2018-04-08 14:36:41 +10:00