Commit Graph

17940 Commits

Author SHA1 Message Date
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
friendseeker eadb5b3786
fix compile error in VirtualFileValueCache 2024-01-01 19:47:08 -08:00
Miguel Vilá 506e9ddd86
Use project axes when not auto scala lib (#86)
* add test that should fail for module not found
* Use axisValues when !autoScalaLibrary

---------

Co-authored-by: Miguel Villa <miguel.villa@siriusxm.com>
2023-12-29 09:45:39 -05:00
Miguel Vilá 7181625be7
add java sources folders (#85)
* add java sources folders
* add test

---------

Co-authored-by: Miguel Villa <miguel.villa@siriusxm.com>
2023-12-27 17:48:46 -05:00
eugene yokota 2f2a098742
Merge pull request #7466 from eed3si9n/wip/version
Bump the version number
2023-12-20 14:16:03 -05:00
Eugene Yokota 78a8af3d7f Bump the version number 2023-12-20 10:51:54 -05:00
adpi2 dd0d43bab4
Merge pull request #7456 from adpi2/refactor-alist
[sbt 2.x] Remove `AList`, replace it with `TupleMapExtension`
2023-12-13 16:57:51 +01:00
Adrien Piquerez a15fb91c5c Remove AList 2023-12-13 14:01:57 +01:00
eugene yokota 34933827d1
Merge pull request #7453 from eed3si9n/wip/lock2
Lock only issues
2023-12-11 18:55:32 -05:00
Eugene Yokota becf4ec66f Lock only issues 2023-12-11 18:54:05 -05:00
eugene yokota 420508c755
Merge pull request #7449 from eed3si9n/wip/bump-zinc-m2
Zinc 1.10.0-M2
2023-12-11 18:51:10 -05:00
eugene yokota c4293af403
Merge pull request #7452 from eed3si9n/wip/lock
Lock thread after 365d of inactivity
2023-12-11 18:42:52 -05:00
Eugene Yokota 556bd94b16 Lock thread after 365d of inactivity 2023-12-11 18:40:36 -05:00
eugene yokota 23a864c7c9
Merge pull request #7450 from sbt/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2023-12-11 02:49:26 -05:00
dependabot[bot] ef6fc89075
Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 04:24:57 +00:00
Eugene Yokota e5e3d2832a Zinc 1.10.0-M2 2023-12-09 05:45:03 -05:00
eugene yokota 2d974be268
Merge pull request #7447 from mkurz/more_logger_methods
[1.9.x] Add missing logger methods that take Java Supplier
2023-12-05 10:56:35 -05:00
Matthias Kurz 2d7f087753
Add missing logger methods that take Java Supplier 2023-12-05 10:15:51 +01:00
eugene yokota e6f0ed8da7
Merge pull request #7446 from sbt/dependabot/github_actions/actions/setup-java-4
Bump actions/setup-java from 3 to 4
2023-12-04 00:41:42 -05:00
dependabot[bot] 4fc38dceee
Bump actions/setup-java from 3 to 4
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 04:07:29 +00:00
adpi2 8950b92d33
Merge pull request #7444 from adpi2/sbt-2-refactor-execute-2
[2.x] Reduce abstraction in `Execute` and around (bis)
2023-11-29 09:15:35 +01:00