Commit Graph

17940 Commits

Author SHA1 Message Date
Dale Wijnand 2608f8ade6 Document parts of AList & components of TupleSyntax
Also, extract the AList.SplitK type lambda helper for call-site reuse.
2020-02-17 07:15:37 +00:00
Eugene Yokota 75365e13d1 Add getSetting to UpperStateOps
This returns Option[A].
2020-02-16 22:32:06 -05:00
eugene yokota a7d76d357c
Merge pull request #5207 from eed3si9n/wip/task
make sbt server more extensible
2020-02-16 00:48:17 -05:00
eugene yokota 576f738de7
Merge pull request #5437 from dwijnand/add-missing-AList-type-alias
Add missing AList type alias to sbt.Import
2020-02-16 00:42:39 -05:00
eugene yokota c4900b1152
Merge pull request #5438 from eed3si9n/wip/comment-out
Comment out failing test
2020-02-16 00:05:43 -05:00
Eugene Yokota 7eed7dd065 Comment out failing test 2020-02-15 23:20:16 -05:00
Eugene Yokota 25a79d0ac6 Add State extension
Fixes https://github.com/sbt/sbt/issues/3112

This unpacks Extracted as State's extension methods.

In addition this provides a way of responding via LSP.
2020-02-15 19:32:19 -05:00
eugene yokota 15038fb23e
Merge pull request #5434 from dwijnand/update/sbt-1.3.8
Update sbt to 1.3.8
2020-02-15 12:39:03 -05:00
Dale Wijnand e5f4bed181 Add missing AList type alias to sbt.Import 2020-02-15 17:18:04 +00:00
Dale Wijnand c5b684984c Tweak Def.displayRelative
My driving use case was LocalProject: it should display the same as a
fully resolved ProjectRef.  Similarly ThisBuild should display as such.
2020-02-15 17:17:03 +00:00
Dale Wijnand 4635af182a Add some tests around Def.displayRelative2 2020-02-15 17:17:03 +00:00
Dale Wijnand 8d6ca826f9 Update sbt to 1.3.8 2020-02-15 08:49:53 +00:00
eugene yokota 1111b3c581
Merge pull request #5428 from eed3si9n/wip/js
Try to reproduce Scala.js + macro bug
2020-02-14 16:20:45 -05:00
eugene yokota 020c5c0cae
Merge pull request #5430 from eed3si9n/wip/servertest
Refactor server test
2020-02-14 11:13:46 -05:00
Eugene Yokota 7aa4034e73 Fix sbt.IllegalReferenceSpec 2020-02-14 09:01:11 -05:00
Eugene Yokota 72aa0780fc Format build.sbt 2020-02-14 00:06:34 -05:00
Eugene Yokota 02152cc41b Refactor server test
This refactors the server test to reuse the server instance for the tests against the same build.
2020-02-13 23:31:09 -05:00
Eugene Yokota a9e592996e Try to reproduce Scala.js + macro bug
Ref https://github.com/sbt/sbt/issues/5427
2020-02-12 15:24:41 -05: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
eugene yokota f5bd0fd096
Merge pull request #5423 from dwijnand/1.4/fix-coursier-classpath-order
Fix Coursier classpath order
2020-02-08 01:33:53 -05:00
Dale Wijnand 9eb51211d6 Fix Coursier classpath order 2020-02-07 07:04:38 +00: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
eugene yokota 06e8bc4476
Merge pull request #5419 from anilkumarmyla/update/coursier-2.0.0-RC5-6
Update coursier to 2.0.0-RC5-6
2020-02-04 15:45:45 -05:00
Anil Kumar Myla 6e25f1419b
Update coursier to 2.0.0-RC6 2020-02-04 11:47:08 -08:00
Anil Kumar Myla bbc25c5ec4
Update coursier to 2.0.0-RC5-6 2020-02-04 11:40:17 -08:00
eugene yokota dc34dd4955
Merge pull request #5416 from eed3si9n/wip/template
Update issue template
2020-02-04 12:24:14 -05: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
Scala Steward a6cbe9a214
Update sbt, scripted-plugin to 1.3.8 (#185) 2020-02-04 10:03:27 +01:00
Alexandre Archambault f8bd86b4b4
Merge pull request #183 from alexarchambault/coursier-2.0.0-RC6
Switch to coursier 2.0.0-RC6
2020-02-03 20:51:04 +01:00
Eugene Yokota 3a10592bac Update issue template
I've been getting issue report that only fills out sbt version in the steps section.
Here's an attempt to fix that.
2020-02-03 14:28:20 -05:00
eugene yokota 7360e6342e
Merge pull request #5403 from eed3si9n/wip/artifacts
Fix the default artifact of packageSrc for custom configuration
2020-02-03 13:46:01 -05:00
eugene yokota ef68d16148
Merge pull request #5413 from raboof/coursierResolverOrder
Use project resolvers before dependency resolvers in coursier
2020-02-03 13:45:26 -05:00
Alexandre Archambault 0caf764260 Switch to coursier 2.0.0-RC6 2020-02-03 17:59:14 +01:00
Alexandre Archambault 2843e6b415 Add missing explicitly shaded namespaces just in case
These are automatically shaded fine with the latest sbt-shading. This
just speeds things up (and is safer against possible regressions in
sbt-shading).
2020-02-03 17:58:18 +01:00
Alexandre Archambault f5b1c59a67 Clean-up 2020-02-03 17:53:41 +01:00
Scala Steward ab4fb3df0d
Update utest to 0.7.3 (#176) 2020-02-03 17:49:34 +01:00
Scala Steward 6f710c526f
Update sbt-coursier, sbt-shading to 2.0.0-RC5-3 (#177) 2020-02-03 17:49:10 +01:00
Arnout Engelen 88623828d4 Use project resolvers before dependency resolvers in coursier
csrResolvers.all evaluates all possible scopes in arbitrary order. This change
makes sure at least the project resolvers are placed before any resolvers from
dependency projects.
2020-02-03 13:22:34 +01:00
eugene yokota f669fc734a
Merge pull request #5411 from eatkins/layering-error-message
Improve ClassLoader layering error message
2020-02-02 15:14:38 -05:00