Commit Graph

71 Commits

Author SHA1 Message Date
Alexandre Archambault d27c0ee46e Quick hack to make publishSigned work again with sbt 1.0.2
Ideally, the scripted tests should still be run with sbt 1.0.1 too, to
ensure there are no regression with it, but the current setup doesn't
make that easy.
2017-10-27 17:19:34 +02:00
Alexandre Archambault 09c5ce417a Quick hack
This ensures something sometimes random is not in some conditions, see https://github.com/coursier/coursier/issues/650
2017-09-20 00:12:20 +02:00
Alexandre Archambault d077a82341 Fix MatchError when using cross version patch with sbt 1.0 2017-09-19 23:23:32 +02:00
Alexandre Archambault a743f1183e Add helpers for recursive use of sbt-coursier
If sbt-coursier is enabled in `project/project/plugins.sbt`, then one
can just add `addSbtCoursier` in `project/plugins.sbt` instead of
`addSbtPlugin(…)`. In particular, that allow to specify the version of
coursier only once.
2017-09-11 12:33:52 +02:00
Alexandre Archambault ef669e68e4 Filter out preloaded repos by default
These sometimes have POMs without the corresponding JARs for some
dependencies, which coursier doesn't allow for now (if a repo has
POMs, it must the corresponding JARs).

Plus preloaded stuff aren't that useful with sbt-coursier enabled.
2017-09-11 12:33:52 +02:00
Alexandre Archambault ca5ac162f2 More careful handling of sbt task dependencies
E.g. ensure no sbt classifiers tasks get evaluated when doing simple
updates
2017-09-11 12:33:52 +02:00
Alexandre Archambault 99f1db149e Merge pull request #646 from coursier/topic/xml-truncation
Prevent tags to be split in generated Ivy XML
2017-08-30 02:14:10 +02:00
Alexandre Archambault 8f988d4d08 Prevent tags to be split in generated Ivy XML 2017-08-30 01:26:46 +02:00
Alexandre Archambault 2e225befbc How many ack level are you on?
Don't know if there's a better / more straightforward way to get address
this. Things were working just fine with sbt 0.13. The goal is to simply
get the repo list that sbt uses to resolve the global plugins, but from a
*-build project.
2017-08-30 01:01:07 +02:00
Alexandre Archambault 372a29c1ee Fix hard-coded sbt binary version 2017-08-30 01:01:06 +02:00
Alexandre Archambault 09a29c26d0 Quick fix adding the sbt plugin repo when necessary
Non reg idocker-based ntegration test for that would be fine
(but the CI of coursier is already cluttured enough)

See the added TODO for some context
2017-08-09 13:06:53 +02:00
Alexandre Archambault 972a7d0ebe Add extra path to get org.scala-sbt:global-plugins:0.0
As this relies on global stuff, it's not straightforward to test... A
docker-based integration test could be added later...
2017-08-06 21:14:35 +02:00
Alexandre Archambault cfa72fed66 Fix sbt 1.0 scripted test 2017-08-05 14:21:34 +02:00
Alexandre Archambault d17e9b93b9 Ensure publishing signed things works fine 2017-08-04 16:38:46 +02:00
Alexandre Archambault 4e74e7f66d Take into account new cross version fields in sbt 1.0 2017-08-04 16:20:02 +02:00
Alexandre Archambault d3bedc838f Fix updateSbtClassifiers 2017-07-22 17:29:27 +02:00
Alexandre Archambault 6c2e62080c Fix sbt 1.0 scripted tests
These are only run locally
2017-07-19 18:59:04 +02:00
Alexandre Archambault 95f08e99d6 Merge pull request #613 from coursier/topic/max-iteration
Factor default max # of iterations
2017-07-19 15:30:19 +02:00
Alexandre Archambault 4fbb2f1992 Merge pull request #612 from coursier/topic/test-jar
Don't require adding type test-jar to classpathTypes
2017-07-19 13:00:52 +02:00
Alexandre Archambault db3679dce4 Factor default max # of iterations 2017-07-19 02:07:15 +02:00
Alexandre Archambault f797681fab Switch to sbt 1.0.0-RC2 2017-07-19 01:40:18 +02:00
Trent Schmidt 16d27bb482 Don't require adding type test-jar to classpathTypes
E.g. when adding dependencies with a tests classifier
2017-07-19 01:02:53 +02:00
Alexandre Archambault 4e5971129b Take into account classifiers specified via attributes in Ivy repos 2017-07-18 10:11:37 +02:00
Alexandre Archambault 19493a512a Use non soon-to-be-deprecated-or-reworked method 2017-07-17 17:12:30 +02:00
Alexandre Archambault 2cd1a3b0b1 Clean stuff 2017-07-15 17:19:06 +02:00
Alexandre Archambault 334f784895 Dummy fix 2017-06-24 16:07:58 +02:00
Alexandre Archambault a91b955a9f Give slow resolvers a lower priority 2017-06-24 15:43:37 +02:00
Alexandre Archambault bb4afb0de4 Move non-project specific settings to buildSettings 2017-06-20 20:50:43 +02:00
Alexandre Archambault 635d94f74e Fix updateSbtClassifier
Regression in 1.0.0-RC4
2017-06-20 13:26:25 +02:00
Alexandre Archambault 3c30c9762c Merge pull request #581 from coursier/develop
Latest developments
2017-06-16 16:33:51 +02:00
Alexandre Archambault fb5dbdfbfb Merge pull request #560 from coursier/topic/sbt-1.0.0-M6
Switch to sbt 1.0.0-M6 (WIP)
2017-06-16 16:08:44 +02:00
Alexandre Archambault f83a377bb5 Fix scripted tests for sbt 1.0.0-M6 2017-06-16 14:29:55 +02:00
Alexandre Archambault 4796c0962d Don't force downloading stuff in scripted tests
In the hope of speeding them up a bit on CI
2017-06-16 14:27:50 +02:00
Alexandre Archambault 310364ed93 Don't include optional artifacts by default
Except for classifiers artifacts, where they were already assumed to be
optional
2017-06-13 14:24:48 +02:00
Alexandre Archambault f6493a2d5a Merge pull request #571 from coursier/topic/sbt-pgp-coursier
Add sbt-pgp-coursier plugin
2017-06-08 13:04:24 +02:00
Mirco Dotta b428c06e26 Test resolution for distinct configurations is run separately.
The original issue was likely resolved in 8002910a43
2017-06-07 17:18:17 +02:00
Alexandre Archambault 6d08ced648 Switch to sbt 1.0.0-M6 2017-06-07 14:34:45 +02:00
Alexandre Archambault 995e8c70fd Add sbt-pgp-coursier plugin 2017-06-07 14:24:21 +02:00
Alexandre Archambault 61eec1ef90 Dummy refacto / fix 2017-06-06 18:01:29 +02:00
Alexandre Archambault 4cdd95b37e Really close http connections 2017-06-06 18:01:28 +02:00
Alexandre Archambault f5ef7d8179 Add non-reg tests for Nexus proxies
Ensure everything work fine again with those (things went bad at
1.0.0-RC1, because of the use of directory listings, that may not be
exhaustive in proxies - or may be just empty, e.g. currently with nexus 3)
2017-05-31 21:19:27 +02:00
Alexandre Archambault 8002910a43 Run separate resolutions for distinct Ivy configurations subgraphs 2017-05-31 15:24:37 +02:00
Alexandre Archambault f23fbda1ba Address more warnings 2017-05-16 17:06:35 +02:00
Alexandre Archambault 6e0c6c3515 Always use same Function1 instance for Resolution fields
Allows to use the resolution as cache key
2017-05-16 17:05:32 +02:00
Alexandre Archambault c4d3918792 Remove unused imports 2017-05-16 17:05:32 +02:00
Alexandre Archambault 334cc1b01a Address some compilation warnings 2017-05-16 17:05:32 +02:00
Alexandre Archambault 688e5342f1 Add more refined typelevel test
Fixes https://github.com/coursier/coursier/issues/536
2017-05-12 00:00:14 +02:00
Alexandre Archambault 86f06a14a8 Fix scripted tests in sbt 1.0 2017-05-04 14:34:00 +02:00
Alexandre Archambault 6b3c763874 Dummy refacto 2017-05-03 19:11:10 +02:00
Alexandre Archambault 1ad06cf407 Cross-compile plugins for sbt 1.0.0-M5 2017-05-03 19:11:10 +02:00