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
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