Commit Graph

1913 Commits

Author SHA1 Message Date
Alexandre Archambault 55a0e79239 Remove some duplicate input prior to resolution 2020-05-15 11:49:07 +02:00
Alexandre Archambault 597a4c014a Get dependency / artifact matching straight from coursier
Rather than matching them after-the-fact in a fragile way.
2020-05-15 11:49:07 +02:00
Alexandre Archambault ecd84e2b83 Fix scala version in Appveyor config 2020-05-15 11:49:07 +02:00
Alexandre Archambault 468001f02f Update sbt launcher 2020-05-15 11:49:07 +02:00
Alexandre Archambault 6d0e824923 Update coursier to 2.0.0-RC6-16 2020-05-15 11:46:31 +02:00
Alexandre Archambault b6fb4da157
Merge pull request #230 from alexarchambault/sbt-lm-coursier
Bump coursier plugin
2020-05-12 19:01:35 +02:00
Alexandre Archambault ee8a818160 Remove sbt-lm-coursier
It's actually not needed, and can be an issue if users use a vanilla sbt
launcher, pulling an old lm-coursier library.
2020-05-12 16:13:32 +02:00
Alexandre Archambault 94edfb1530 Use sbt-lm-coursier rather than sbt-coursier 2020-05-12 14:50:01 +02:00
Alexandre Archambault 90c80c1959 Update sbt-coursier to 2.0.0-RC6-4 2020-05-12 14:49:14 +02:00
Alexandre Archambault d38e523663
Merge pull request #228 from alexarchambault/remove-sbt-shading
Remove sbt-shading sources
2020-05-12 10:50:24 +02:00
Alexandre Archambault e43be3d52d Update sbt-shading to 2.0.0 2020-05-12 01:00:40 +02:00
Alexandre Archambault 9694d32083 Remove sbt-shading sources
It now lives at https://github.com/coursier/sbt-shading.
2020-05-12 01:00:09 +02:00
Scala Steward bbcce56b4a
Update coursier to 2.0.0-RC6-15 (#225) 2020-05-12 00:54:15 +02:00
Scala Steward dc907dbf0d
Update scalatest to 3.1.2 (#226) 2020-05-12 00:54:07 +02:00
Alexandre Archambault 33af97d81e
Warn if legacy cache location ~/.coursier/cache is found (#222) 2020-05-05 19:59:59 +02:00
eugene yokota 0047a9803b
Implement missingOk (#212)
Ref https://github.com/coursier/coursier/issues/1541
Ref https://github.com/sbt/sbt/issues/4707

This adds `missingOk` setting to `CoursierConfiguration`, forwarding the `missingOk` setting in `UpdateConfiguration` from LM API. lmcoursier _not_ respecting this setting is causing various issues on sbt side since the expected behavior of some plugins (including IntelliJ import feature) is that the source JARs missing would not fail the entire operation.
Ideally we should return a partially resolved graph (for example if one out of 20 depdencies are missing source JARs it's still useful), but for now I'm going to return an empty `UpdateReport`.

Co-authored-by: Alexandre Archambault <alexandre.archambault@gmail.com>
2020-05-05 17:35:12 +02:00
Scala Steward b1b8f2c441
Update sbt-ci-release to 1.5.3 (#216) 2020-05-04 12:40:13 +02:00
Scala Steward 38518561f3
Update coursier to 2.0.0-RC6-14 (#221) 2020-05-04 12:39:34 +02:00
Alexandre Archambault f336c89561
Merge pull request #220 from alexarchambault/header-based-auth
Allow authenticating via custom HTTP headers
2020-05-04 12:38:31 +02:00
Alexandre Archambault f37dd6af0f Support missing coursier.core.Authentication fields 2020-05-03 18:14:32 +02:00
richardgilmore e2876fb23e Allow authenticating via custom HTTP headers 2020-05-03 18:14:28 +02:00
richardgilmore 8c2d660434 Add IntelliJ and metals entries in .gitignore 2020-05-03 18:13:21 +02:00
Scala Steward c0dbe1d4a9
Update data-class to 0.2.3 (#219) 2020-04-27 18:39:52 +02:00
Scala Steward ec51d9521e
Update data-class to 0.2.2 (#207) 2020-04-16 13:52:16 +02:00
Scala Steward b03f069112
Update scala-xml to 1.3.0 (#206)
* Update scala-xml to 1.3.0

* Update scala-xml to 1.3.0
2020-04-16 03:27:22 +02:00
Scala Steward 7a359d2b4e
Update coursier to 2.0.0-RC6-12 (#215) 2020-04-16 03:26:21 +02:00
Scala Steward 8d25bb0039
Update librarymanagement-ivy to 1.3.2 (#213) 2020-04-15 20:56:53 +02:00
Scala Steward 9ef19d5154
Update sbt, scripted-plugin to 1.3.10 (#214) 2020-04-15 17:32:31 +02:00
Scala Steward e421e02c8d
Update sbt, scripted-plugin to 1.3.9 (#211) 2020-04-01 13:39:07 +02:00
Stephane Landelle b643112c2a
Merge transitive and direct reverse dependencies, close sbt/stb#5484 (#209)
Motivation:

Direct reverse dependencies Map is added into the transitive reverse dependencies Map, so any dependency existing in both Maps loses transitive callers.

This behavior is not consistent with the ivy based lm and is not desirable: the goal is to have the complete callers tree.

Modification:

Merge the 2 maps instead of adding and lose values for conflicting keys.

Result:

Transitive callers are not lost when dependency is also pulled directly.
2020-03-31 15:35:50 +02:00
Alexandre Archambault c7975b9f1a
Add FromCoursier to mima exclusions (#210)
Maybe that object should be moved to lmcoursier.internal…
2020-03-31 02:16:21 +02:00
Cyrille Chépélov 29208b66b9
expose ttl, verbosityLevel, checksums, cachePolicies to SBT (#205) 2020-03-16 12:23:33 +01:00
Scala Steward aa83893027
Update coursier to 2.0.0-RC6-10 (#201) 2020-03-02 10:42:40 +01:00
Scala Steward af3f8aed05
Update sbt-mima-plugin to 0.7.0 (#203) 2020-03-02 10:42:33 +01:00
Scala Steward 15682aa5b5
Update scalatest to 3.1.1 (#202) 2020-02-21 10:56:44 +01:00
Scala Steward e314e7f88e
Update coursier to 2.0.0-RC6-8 (#199) 2020-02-17 14:18:30 +01:00
Scala Steward 600500ca79
Update coursier to 2.0.0-RC6-5 (#196) 2020-02-12 17:36:27 +01:00
Scala Steward 412f957382 Update coursier to 2.0.0-RC6-4 (#195) 2020-02-10 09:01:35 +01:00
Scala Steward a7498c3688
Update coursier to 2.0.0-RC6-3 (#194) 2020-02-09 23:14:29 +01:00
Scala Steward d749953e7b
Update coursier to 2.0.0-RC6-2 (#193) 2020-02-09 12:27:10 +01:00
Scala Steward b220a05775
Update sbt-ci-release to 1.5.2 (#192) 2020-02-09 12:26:57 +01:00
Scala Steward 57b9ae2f5e Update sbt-mima-plugin to 0.6.4 (#191) 2020-02-08 15:31:35 +01:00
Scala Steward 460a79b96d
Update utest to 0.7.4 (#190) 2020-02-06 23:13:46 +01:00
Dale Wijnand 6157bff6d7
Minor cleanups in SbtUpdateReport (#189)
Use Seq.unapplySeq over .size/.head.  Drop now unnecessary toVector's.
2020-02-06 20:18:06 +01:00
Dale Wijnand 0849574331
Forward classpathOrder into SbtUpdateReport (#187)
* Add a scripted test for "cp order"

* Forward classpathOrder into SbtUpdateReport

* Bump the target sbt version to 1.2.8

* Preserve order all through SbtUpdateReport.moduleReports

* Update scala-jars scripted test

Seems some changes in the way sbt handles the scala-library / reflect /
compiler JARs made it stale…

Co-authored-by: Alexandre Archambault <alexarchambault@users.noreply.github.com>
2020-02-05 19:10:28 +01:00
Alexandre Archambault aeb241f308
Merge pull request #186 from alexarchambault/sbt-mima-0.6.3
Switch to sbt-mima 0.6.3
2020-02-04 15:08:07 +01:00
Alexandre Archambault caf77f06c3 Ignore incompatible signature problems
Seems these are spurious (only getting them on CI)
2020-02-04 13:00:43 +01:00
Alexandre Archambault cf7498d256 Switch to sbt-mima 0.6.3
And restrict checked versions in mima (incompatible signature problem
with former versions).
2020-02-04 12:21:47 +01:00
Alexandre Archambault b5d73896ca Disable sbt-mima in projects that don't need it 2020-02-04 12:20:47 +01:00
Scala Steward 64a0e6d265
Update coursier to 2.0.0-RC6-1 (#184) 2020-02-04 11:44:57 +01:00