Commit Graph

2109 Commits

Author SHA1 Message Date
Alexandre Archambault 315a4bb4c0 Fix
Trapped errors?
2020-06-26 13:25:36 +02:00
Alexandre Archambault f5f3fd12f8 Refacto 2020-06-26 13:25:05 +02:00
Alexandre Archambault e601f843e5 Allow several resolutions to run at a time with fallback logger 2020-06-26 13:25:05 +02:00
Øyvind Raddum Berg 5f595b23a4 Reuse thread pool from `FileCache` 2020-06-26 13:25:05 +02:00
Alexandre Archambault 78e61fec0f
Update sbt-compatibility to 0.0.8 (#252) 2020-06-16 14:16:10 +02:00
Scala Steward 41e561f9ab
Update sbt-compatibility to 0.0.8 (#253) 2020-06-12 22:07:10 +02:00
Scala Steward e5ab2f0019
Update coursier to 2.0.0-RC6-21 (#250) 2020-06-09 17:53:52 +02:00
Alexandre Archambault 0efad71b5b
Merge pull request #251 from alexarchambault/sbt-compatibility
Add sbt-compatibility / sbt-eviction-rules
2020-06-09 17:47:35 +02:00
Alexandre Archambault 3d9462a6e2 Check for evictions on CI 2020-06-09 16:21:27 +02:00
Alexandre Archambault e6be0cb7fb Add sbt-compatibility 2020-06-09 16:21:27 +02:00
Alexandre Archambault f29a170b9c
Merge pull request #249 from alexarchambault/evicted
Don't report evictions about modules in dependencyOverrides
2020-06-02 19:40:15 +02:00
Alexandre Archambault 24f1baaf97 Temporarily use custom sbt-mima
That fetches previous artifacts with coursier rather than ivy.
2020-06-02 16:17:48 +02:00
Alexandre Archambault 84a14e7855 Don't report evictions about modules in dependencyOverrides 2020-06-02 16:15:22 +02:00
Alexandre Archambault bc059d1bc6 Remove unused parameter and default values 2020-06-02 15:59:17 +02:00
Alexandre Archambault 158ede9ab1 nit 2020-06-02 15:59:15 +02:00
Alexandre Archambault bfa847de28 Uncomment evicted test 2020-06-02 15:59:15 +02:00
Scala Steward 2f0b664bb9
Update coursier to 2.0.0-RC6-20 (#248) 2020-06-02 15:12:58 +02:00
Alexandre Archambault 5e519e22e0
Add override element in ivy.xml (#247)
Note that it's not read by coursier later on though…
2020-06-02 13:30:02 +02:00
Scala Steward 154fad5a5e
Update sbt, scripted-plugin to 1.3.12 (#246) 2020-06-02 10:52:44 +02:00
Scala Steward 6cfc9d6267
Update sbt, scripted-plugin to 1.3.11 (#245) 2020-05-30 03:17:44 +02:00
Alexandre Archambault 677725dc3f
Merge pull request #243 from alexarchambault/develop
Minor tweaking
2020-05-29 19:44:42 +02:00
Alexandre Archambault cc9d567917
Pass some missing strict parameters to coursier (#244) 2020-05-29 18:49:12 +02:00
Alexandre Archambault caa1123c1f Set csrConfiguration too, in sbt-lm-coursier
sbt-lm-coursier uses its own coursierConfiguration, rather than
csrConfiguration from sbt. Setting the latter just-in-case some other
plugin, or users, rely on csrConfiguration.
2020-05-29 15:55:21 +02:00
Alexandre Archambault d8ea3b91d5 Add helper method 2020-05-29 15:55:21 +02:00
Scala Steward 5e5939d693
Update librarymanagement-ivy to 1.3.3 (#242) 2020-05-29 09:55:03 +02:00
Scala Steward 77a3c40fc4
Update coursier to 2.0.0-RC6-19 (#240) 2020-05-25 19:03:20 +02:00
Alexandre Archambault 031648a1d7
Fix provided scope handling (#239)
It was resolved independently of compile since we run resolutions for
each configuration. It couldn't bump versions in compile because of that
in particular.
2020-05-22 01:56:17 +02:00
Alexandre Archambault b82f3a2746
Merge pull request #238 from alexarchambault/clean-up
Clean-up
2020-05-21 15:20:57 +02:00
Alexandre Archambault 33cfaf3df6 Address compilation warnings 2020-05-19 15:58:31 +02:00
Alexandre Archambault c82ab8850d Remove former shading plugin related code
Which is now unused.
2020-05-19 15:58:31 +02:00
Alexandre Archambault dabf6c8c8b
Merge pull request #235 from alexarchambault/per-config-resolution
Per config resolution
2020-05-19 15:50:25 +02:00
Alexandre Archambault 2c2c98669d Clean-up scripted test 2020-05-19 14:23:48 +02:00
Alexandre Archambault 123f40723d Clean-up scripted test
Actually unused file
2020-05-19 14:23:48 +02:00
Alexandre Archambault 8aa40d1f21 Move ivy.xml generation stuff to lm-coursier
So that it can be re-used from sbt
2020-05-19 14:23:48 +02:00
Alexandre Archambault 6cebc8fe7a Keep global exclusions as such in generated ivy.xml 2020-05-19 14:23:48 +02:00
Alexandre Archambault 3d374247ca Rely on coursier.Resolve to handle exclusions
It applies it to root dependencies too, in particular.
2020-05-19 14:23:48 +02:00
Alexandre Archambault fa72797823 Clean-up scripted test 2020-05-19 14:23:48 +02:00
Alexandre Archambault 808f9a0d0f Tweak updateSbtClassifiers handling in sbt-coursier
Running one resolution per config messed things up a bit…
2020-05-19 14:23:48 +02:00
Alexandre Archambault 3cd521c43c Run resolution for each configuration
Rather than for each configuration sub-graph. This runs a resolution for
Compile, one for Runtime, one for Test, etc. rather than one for all 3
of them, for example.

We re-use the Resolution instance from the first extended configuration,
so that the performance penalty is really low.
2020-05-19 14:23:48 +02:00
Alexandre Archambault 627877fcc7 Update coursier to 2.0.0-RC6-18 2020-05-19 14:23:43 +02:00
Alexandre Archambault ce3ee9d241
Merge pull request #232 from alexarchambault/remove-dependency-artifact-matching
Get rid of flaky dependency / artifact matching, mark updateSbtClassifiers artifacts as optional
2020-05-15 13:56:31 +02:00
Alexandre Archambault ca0d5eaa3c Set dependencyResolution in scalaCompilerBridgeScope too 2020-05-15 12:20:43 +02:00
Alexandre Archambault 907d26865a Set missingOk if sbtClassifiers is true
Seems sbt doesn't do it by default
2020-05-15 12:20:43 +02:00
OlegYch 66711aa796 Add updateSbtClassifiers test 2020-05-15 12:20:43 +02:00
Alexandre Archambault 0ce27bde9e Pass sbtClassifiers around
Mostly for printed messages, and for missingOk in a subsequent commit
2020-05-15 12:20:26 +02:00
Alexandre Archambault aefefb4634 Mark artifacts as optional if missingOk is true 2020-05-15 12:20:26 +02:00
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