Commit Graph

17910 Commits

Author SHA1 Message Date
Lukas Rytz d8d2b02e7e Use the ordinary compiler classpath for scala-library
No longer pass `-bootclasspath /path/to/scala-library.jar` to the Scala
compiler, put the library on the ordinary classpath.
2024-02-26 13:49:04 +01:00
eugene yokota 0255009d2b
Merge pull request #492 from scala-steward/update/scalatest-3.2.18
Update scalatest to 3.2.18
2024-02-23 02:22:02 -05:00
eugene yokota 7924ac31f9
Merge pull request #491 from scala-steward/update/coursier-2.1.9
Update coursier, ... to 2.1.9
2024-02-23 02:21:33 -05:00
Nikita Vilunov 380d1526b0
Add support for non-matrix projects to be aggregated in and depended on by matrix projects (#89)
Add support for non-matrix projects to be aggregated in and depended on by matrix projects
2024-02-21 13:28:54 -05:00
Scala Steward 6de76349c9
Update scalatest to 3.2.18 2024-02-19 17:01:44 +00:00
Scala Steward 2de922e468
Update coursier, ... to 2.1.9 2024-02-19 17:01:41 +00:00
adpi2 48c23761dc
Merge pull request #7499 from hagay3/1.10.x
upgrade lm-coursier-shaded to 2.1.3
2024-02-19 09:48:13 +01:00
Hagai Ovadia 0f4be2405e upgrade lm-coursier-shaded tp 2.1.3 2024-02-18 16:00:22 +02:00
adpi2 a1599c98c7
Merge pull request #7496 from adpi2/bsp-noop-compilation
[1.x] add noOp field in BSP compile report
2024-02-15 16:23:14 +01:00
Adrien Piquerez eadf1117f6 Store bootServerSocket in state 2024-02-15 16:18:54 +01:00
Adrien Piquerez 02df82840a add noOp field in BSP compile report 2024-02-15 15:50:02 +01:00
adpi2 749b9caa11
Merge pull request #7494 from adpi2/sbt2-todo-refactorings
[2.x] Fix `SbtRefactorings` and run `SessionSettingsSpec`
2024-02-14 19:00:16 +01:00
adpi2 fcaf7afe10
Merge pull request #7493 from adpi2/sbt2-eval3
[2.x] Update eval for Scala 3.3.1
2024-02-14 09:41:44 +01:00
Adrien Piquerez 5425e066a0 Fix SbtRefactorings 2024-02-13 14:01:26 +01:00
Adrien Piquerez 4baf698a8c Fix TupleMapExtensionTests
The compiler cannot infer F[_] on a concrete Tuple.Map[T, F[_]] because it reduces it to a (F[A], F[B], ...)
2024-02-13 11:17:52 +01:00
Adrien Piquerez ac191ddc5c Update eval for Scala 3.3.1 2024-02-13 10:37:07 +01:00
adpi2 a607e54188
Merge pull request #7490 from adpi2/sbt2-remove-manifest
[sbt 2] Remove usage of Manifest in Structure.scala
2024-02-12 16:34:41 +01:00
Adrien Piquerez 144b86e32e fix tag of InputTask 2024-02-12 15:28:57 +01:00
Adrien Piquerez 739dedb017 Remove usage of Manifest in Structure.scala 2024-02-12 15:22:09 +01:00
adpi2 64be877549
Merge pull request #7491 from adpi2/misc-cleanup
[2.x] Miscellaneous cleanup
2024-02-08 17:42:35 +01:00
adpi2 79def174ef
Merge pull request #7492 from adpi2/sbt2-todo-errorspec
Fix test in ErrorSpec
2024-02-08 16:08:22 +01:00
Adrien Piquerez 013194c217 Rename to SbtParserErrorSpec 2024-02-08 13:29:15 +01:00
Adrien Piquerez 245d13575a Refactor xml test in ErrorSpec 2024-02-08 13:28:19 +01:00
Adrien Piquerez 135ab16b5c Remove outdated test in ErrorSpec 2024-02-08 13:21:04 +01:00
Adrien Piquerez 5990775a43 Fix test in ErrorSpec 2024-02-08 13:12:35 +01:00
eugene yokota 652f7dc575
Merge pull request #7486 from eed3si9n/wip/postfix
[2.x] Migrate postfix ops
2024-02-07 12:34:11 -05:00
Eugene Yokota 63ba90d198 Migrate postfix ops
**Problem**
There are a few places in the code that's using postfix ops.

**Solution**
This rewrites the expressions to use normal dot notaiton.
2024-02-07 11:40:45 -05:00
eugene yokota ecca26175e
[sbt 2.x] remote cache (#7464)
For the details about this PR, please see the blog post https://eed3si9n.com/sbt-remote-cache/.

* Add cache basics
* Refactor Attributed to use StringAttributeMap, which is Map[StringAttributeKey, String]
* Implement disk cache
* Rename Package to Pkg
* Virtualize packageBin
* Use HashedVirtualFileRef for packageBin
* Virtualize compile task
2024-02-07 10:34:06 -05:00
Adrien Piquerez ea4b38d1b1 Shorten fake task macro impl 2024-02-07 12:13:35 +01:00
Adrien Piquerez cabf08e5f0 Use report.errorAndAbort in macro 2024-02-07 11:55:27 +01:00
Adrien Piquerez e18ddb1666 Fix resolution of * on String 2024-02-07 11:47:22 +01:00
Adrien Piquerez 4b59b56785 More cleaning in TypeFunctions 2024-02-07 11:16:38 +01:00
Adrien Piquerez 7ac3cd321d Remove the unused ~> 2024-02-07 11:12:43 +01:00
Adrien Piquerez 10fc5da8b6 remove Composite and replace it with type lambda 2024-02-07 10:58:05 +01:00
Adrien Piquerez cf3c9bbf0d Remove ~>| and use polymorphic function instead 2024-02-07 10:49:23 +01:00
eugene yokota 1c4d9c89bf
Merge pull request #88 from hugo-vrijswijk/base-dir-setting 2024-02-06 09:28:22 -05:00
Hugo van Rijswijk 7f30c1e0dc Add `projectMatrixBaseDirectory` setting
Similar to https://github.com/portable-scala/sbt-crossproject/pull/152
2024-02-05 09:48:17 +01:00
eugene yokota 0d291f0489
Merge pull request #7488 from Duhemm/scripted-classpath 2024-02-02 09:05:01 -05:00
Martin Duhem 6679067bcb
Resolve `scripted-sbt-redux` to run scripted
Previously, in sbt 2, the Scripted plugin was not resolving any module
that would provide it with the `ScriptedTests` object, and could
therefore not run scripted tests.

With this patch, `scripted-sbt-redux` will be resolved and added to the
classloader that's used to load `sbt.scriptedtest.ScriptedTests`.
2024-02-02 14:28:56 +01:00
Tomasz Godzik 7b43b758dd
Merge pull request #490 from lrytz/lib-unfreeze
Add a `sameVersions` paramter to CoursierConfiguration
2024-01-26 10:47:51 +01:00
Lukas Rytz 5c966f4562 Add a `sameVersions` paramter to CoursierConfiguration
Expose coursier's `SameVersion` rule to allow pinning libraries
to the same version.
2024-01-22 13:28:19 +01:00
eugene yokota f08032af26
Merge pull request #7478 from sbt/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2024-01-21 23:55:06 -05:00
dependabot[bot] de4caf2631
Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 04:14:49 +00:00
eugene yokota ed84b9f7e9
Merge pull request #7475 from Tammo0987/fix/usage-of-publisher-interface
Use the publisher interface for publishing as default
2024-01-21 00:41:18 +05:30
Tammo Steffens 053c7cc8bd Use the publisher interface for publishing as default 2024-01-17 21:39:39 +01:00
eugene yokota 8a16a57c7a
Merge pull request #489 from kubukoz/log-resolution-module-name 2024-01-16 18:08:41 +05:30
Jakub Kozłowski 32a687d15e
Make module name non-empty 2024-01-16 00:46:58 +01:00
eugene yokota cfe0fc8e2e
Merge pull request #7470 from Friendseeker/packageSrc-managed-source
Include `managedSources` in `packageSrc`
2024-01-02 00:41:28 -05:00
friendseeker e4ab56e444 Include managedSources in packageSrc 2024-01-01 20:58:39 -08:00
eugene yokota 4151f4e6c0
Merge pull request #7471 from Friendseeker/stamps-followup
Fix compile error in `VirtualFileValueCache`
2024-01-01 23:54:42 -05:00