Commit Graph

39 Commits

Author SHA1 Message Date
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 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 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 33af97d81e
Warn if legacy cache location ~/.coursier/cache is found (#222) 2020-05-05 19:59:59 +02:00
Alexandre Archambault 59ec5d2b95 Add strict reconciliation, and versionReconciliation key 2019-08-14 17:28:30 +02:00
eugene yokota ebe96c613f Include reconciliation to CoursierConfiguration (#112)
Also re-enable sbt-contraband, and deal with Dependency change.
2019-08-09 11:55:57 +02:00
Alexandre Archambault 759d0bff9a
Discard inter-projects when they aren't needed (#101)
Useful in the dotty build in particular
2019-07-11 20:24:06 +02:00
Alexandre Archambault d223389637 Take conflictManager setting into account
Only latest-revision (default) and strict are supported for now.
2019-07-08 17:31:36 +02:00
Alexandre Archambault bed2d2dd28
Easier bin compat for stuff under lmcoursier.definitions (#73) 2019-05-28 12:48:16 +02:00
Alexandre Archambault 1499a15730
Ensure we write api URL info in ivy.xml (#66) 2019-05-13 23:48:22 +02:00
Alexandre Archambault 3f6c4c3831 Remove last references to coursier modules in sbt-coursier-shared 2019-04-26 10:20:59 +02:00
Alexandre Archambault 16bf1570ad Rely on allExcludeDependencies when it's there
It excludes sbt itself in meta-builds in particular, see https://github.com/coursier/coursier/issues/1128
2019-04-26 10:20:59 +02:00
Alexandre Archambault 6bdd0f985a Vendor more stuff in lmcoursier, shade coursier in it
Along with shapeless, argonaut, argonaut-shapeless that coursier depends
on now.
2019-04-25 16:34:08 +02:00
Alexandre Archambault d6858b4857 Make most things private in lm-coursier
And as much as possible, have sbt-coursier-shared and sbt-lm-coursier
use as few as possible things from coursier itself and lm-coursier.
2019-04-25 16:34:08 +02:00
Alexandre Archambault 736d5c11c5
Switch to coursier 1.1.0-M14-2 (#60) 2019-04-25 15:35:38 +02:00
Alexandre Archambault 73c5d9737d Handle credentials key from global settings 2019-04-04 18:43:50 +02:00
Alexandre Archambault 2c6a6503f1 Add back former coursierCredentials key
Not to break compatibility with former plugins
2019-04-04 18:43:50 +02:00
Alexandre Archambault 973cce68ad Rework / simplify credentials handling 2019-04-04 18:43:50 +02:00
Alexandre Archambault b8befa4ec7
Tweak global plugins handling (#47)
Seems the changes of
3eb210eb1b
were missing bits to handle the configurations of the global-plugins
project.
2019-03-15 19:02:44 +01:00
Alexandre Archambault 9bd17e0fdd Switch to coursier 1.1.0-M12, use high level API 2019-02-26 13:37:30 +01:00
Alexandre Archambault 399e84efd5 Warn in case of source dependencies where sbt-coursier isn't enabled 2019-02-18 14:03:54 +01:00
Alexandre Archambault 3eb210eb1b Less flaky handling of special project org.scala-sbt:global-plugins 2019-02-18 14:03:54 +01:00
Alexandre Archambault 697d84ea1a Switch to coursier 1.1.0-M10 2019-02-01 00:52:59 +01:00
Alexandre Archambault 6b1a84c563
Add addSbtCoursier helper to sbt-lm-coursier too (#16) 2018-12-12 11:19:05 +01:00
Alexandre Archambault 3b8e2f42cd Allow to tweak logger from sbt-lm-coursier too 2018-11-22 14:14:35 +01:00
Alexandre Archambault 40489f7fee Add credentials support to sbt-lm-coursier 2018-11-22 13:52:59 +01:00
Alexandre Archambault 5bf5058c31 Add profile handling to sbt-lm-coursier 2018-11-22 13:07:57 +01:00
Alexandre Archambault d898c79b54 Dummy refactoring / comment 2018-11-22 10:20:29 +01:00
Alexandre Archambault d17a2ca03f Make an updateClassifiers-related scripted test pass
That was painful…

Update depending on how https://github.com/sbt/sbt/pull/4459 goes
2018-11-21 15:29:50 +01:00
Alexandre Archambault da2c0f5f1f Handle explicit URLs from sbt-lm-coursier 2018-11-21 13:21:41 +01:00
Alexandre Archambault 0289895584 Fix some updateSbtClassifiers-related stuff 2018-11-21 11:18:35 +01:00
Alexandre Archambault ff79cab75c Move resolvers related tasks to sbt-coursier-shared
So that they can be used from sbt-lm-coursier too
2018-11-21 11:13:30 +01:00
Alexandre Archambault a592ee587a Move more stuff from sbt-coursier to sbt-coursier-shared
So that these are picked by sbt-lm-coursier too
2018-11-20 17:50:05 +01:00
Alexandre Archambault 239d875048 Make clean scripted test pass with sbt-lm-coursier 2018-11-20 17:40:10 +01:00
Alexandre Archambault 6cd9b7e2b4 Move ivy.xml generation stuff to sbt-coursier-shared 2018-11-20 17:18:19 +01:00
Alexandre Archambault 0225bc5ce7 Start to move some coursier specific keys to sbt-coursier-shared plugin 2018-11-20 15:55:55 +01:00