friendseeker
23b769efe6
Remove compile error in GCUtil
...
runFinalization is going to be removed
2024-10-06 19:09:39 -07:00
eugene yokota
78ac6d3809
Merge pull request #7729 from Friendseeker/remove-vscode-plugin-2
...
[2.x] Remove `vscode-sbt-scala` from build.sbt
2024-10-05 21:56:00 -04:00
friendseeker
eab7048a34
Remove vscode-sbt-scala from build.sbt
2024-10-05 17:51:06 -07:00
Eugene Yokota
ea031a7fa0
deps: lm 2.0.0-M2
2024-10-04 05:52:43 -04:00
eugene yokota
99542109ed
Merge pull request #7719 from eed3si9n/wip/bump-zinc
...
deps: Zinc 2.0.0-M1
2024-10-04 03:12:27 -04:00
Eugene Yokota
02e8a86f18
deps: Zinc 2.0.0-M1
2024-10-04 02:53:02 -04:00
eugene yokota
bb32c385fb
[2.x] fix: Append -root to synthetic root ( #7716 )
...
**Problem**
I notice that the synthetic root project ends up conflicting with
the projectMatrix on Scala 3, when the name of the matrix
matches the directory name, which is fairly common.
**Solution**
Append `-root` to the root project when there are multiple subprojects found.
2024-10-03 20:19:58 +02:00
eugene yokota
81347dc908
Merge pull request #7717 from xuwei-k/remove-private-this
2024-10-03 10:15:31 -04:00
xuwei-k
cfb9ffea95
remove deprecated `[this]` qualifier
...
https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html
2024-10-03 21:16:48 +09:00
eugene yokota
eb5c3cfccf
[2.x] refactor: Remove useCoursier setting (drop Ivy) ( #7712 )
...
**Problem**
It's been a while since Coursier has been the default library management engine,
and we don't need to support two.
**Solution**
This removes `useCoursier` setting.
2024-10-02 14:33:54 -04:00
adpi2
d4e2f91008
Merge pull request #7714 from adpi2/2.x-fix-7711
...
[2.x] Reduce heap size after load
2024-10-02 17:12:49 +02:00
Adrien Piquerez
31710c0879
Reduce allocation of Action.Mapped
...
For a tuple (t1, t2, ..., tn) of tasks we instantiate a unique Mapped instead of many
Mapped(t1, Mapped(t2, Mapped(...))
2024-10-02 15:54:20 +02:00
Adrien Piquerez
57db671073
Optimize TupleMapExtension
2024-10-02 15:54:20 +02:00
Adrien Piquerez
e3449fff02
Reduce instances of Init.Apply
2024-10-02 11:05:37 +02:00
eugene yokota
133b7371fb
Merge pull request #7699 from eed3si9n/wip/query
...
[2.x] feat: queriable slash syntax (sbt query)
2024-10-02 02:05:41 -04:00
eugene yokota
59099cb3af
Merge branch 'develop' into wip/query
2024-10-02 01:44:19 -04:00
eugene yokota
3c645bbeeb
Merge pull request #7688 from eed3si9n/wip/non-blocking-run
...
[2.x] feat: Non-blocking run
2024-10-01 16:47:26 -04:00
Eugene Yokota
8aa740574b
Move suspendChannel to EvaluateTask
2024-10-01 03:15:28 -04:00
eugene yokota
683b09afa8
Update main/src/main/scala/sbt/internal/DefaultBackgroundJobService.scala
...
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
2024-10-01 00:46:52 -04:00
adpi2
a4ef38c5da
Merge pull request #7708 from adpi2/2.x-fix-7706
...
[2.x] Fix loading of `ScalaJSPlugin` in `ProjectMatrix`
2024-09-30 15:06:34 +02:00
eugene yokota
33fd849e3c
Merge pull request #7703 from eed3si9n/wip/remove-old-build-sbt-dsl
2024-09-30 09:01:35 -04:00
adpi2
254ff06b6b
Merge branch 'develop' into 2.x-fix-7706
2024-09-30 14:06:23 +02:00
Adrien Piquerez
be04ad552d
Use projectMatrix caller to resolve plugins
2024-09-30 14:01:46 +02:00
Adrien Piquerez
56416901cf
Add back `dependsOn` on inputTask
2024-09-30 14:00:08 +02:00
Eugene Yokota
5684a842c3
refactor: Remove sbt 0.13 `in` methods
...
**Problem**
See https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#Migrating+to+slash+syntax
We should remove `scalacOptions in (Compile, console)` notation. This was deprecated in https://eed3si9n.com/sbt-1.5.0 .
**Solution**
This renames `in` to `rescope` for internal usage, and ports the usages to slash.
2024-09-28 19:19:58 -04:00
Eugene Yokota
4e72eaecdf
Remove scopedKeyAggregatedSep
2024-09-28 19:11:27 -04:00
Eugene Yokota
89517c642c
Merge branch 'develop' into wip/query
2024-09-28 18:55:15 -04:00
eugene yokota
1ceef86eb2
Merge pull request #7700 from eed3si9n/wip/remove-old-shell-syntax
...
[2.x] refactor: Remove old sbt 0.13 shell syntax
2024-09-28 18:50:20 -04:00
Eugene Yokota
a6b4cfef12
refactor: Remove old sbt 0.13 shell syntax
2024-09-28 13:51:14 -04:00
eugene yokota
5ffd2f20c3
Merge pull request #7694 from eed3si9n/wip/cross-building
...
[2.x] feat: plugin cross building as Scala cross building
2024-09-27 00:50:21 -04:00
adpi2
aa280837c0
Merge branch 'develop' into wip/cross-building
2024-09-26 14:15:05 +02:00
adpi2
1a4cdf4862
Merge pull request #7697 from adpi2/2.x-source-compat
...
[2.x] Improve backward source compat
2024-09-26 09:28:26 +02:00
Eugene Yokota
e61ae80088
feat: queriable slash syntax (sbt query)
...
**Problem**
We want a more flexible way of aggregating subprojects.
**Solution**
This implements a subproject filtering as a replacement of
the subproject axis in the act command.
2024-09-26 01:20:44 -04:00
eugene yokota
b5d3a6d258
Merge pull request #7693 from eed3si9n/wip/common-settings
...
[2.x] fix: Fix common settings loading when root is synthetic
2024-09-25 11:56:41 -04:00
Adrien Piquerez
0728a5b5ad
Add default imports
2024-09-25 16:43:45 +02:00
Adrien Piquerez
eda3a87e76
Resolve conflict between BuildSyntax.dependsOn and Scoped.dependsOn
2024-09-25 16:43:45 +02:00
Adrien Piquerez
860f462f2f
Add dependsOn on Initialize[Task[A]]
2024-09-25 15:32:04 +02:00
Adrien Piquerez
edd11a283e
Make Classpaths.analyzed public
2024-09-25 15:32:04 +02:00
Eugene Yokota
01d5f9c050
feat: plugin cross building as Scala cross building
...
**Problem**
Since Scala cross building works better than the plugin cross building `^^`,
it was common for plugin authors to encode plugin cross building as Scala cross building
given that we usually have zero or one sbt release in one Scala version.
**Solution**
This brings in the setting into SbtPlugin so plugin authors can cross build
using sbt 2.x.
2024-09-22 17:25:08 -04:00
Eugene Yokota
354dd25988
fix: Fix common settings loading when root is synthetic
...
**Problem**
The new common settings feature doesn't work when the root isn't created by the user.
**Solution**
This fixes common settings by calling `expandCommonSettingsPerBase(...)` on
the synthetic root's base first.
2024-09-22 16:51:10 -04:00
eugene yokota
864da879c6
Merge pull request #7691 from eed3si9n/wip/root_skip_publish
...
[2.x] fix: skip publish on synthetic aggregate root
2024-09-22 15:48:39 -04:00
eugene yokota
d7185c9c52
Merge pull request #7689 from eed3si9n/wip/matrix_followup
...
[2.x] Make Scala 3 the default axis of the projectMatrix, not 2.13
2024-09-22 13:18:57 -04:00
eugene yokota
7d1868ec64
Merge pull request #7692 from eed3si9n/wip/remove-build-properties-from-scripted
...
[2.x] fix: Remove build.properties from a scripted
2024-09-22 12:27:01 -04:00
Eugene Yokota
6ce8f34cbe
fix: Remove build.properties from a scripted
...
**Problem**
build.properties hardcodes sbt version.
**Solution**
This can be removed.
2024-09-22 10:23:09 -04:00
eugene yokota
39e5a1f7eb
Merge branch 'develop' into wip/root_skip_publish
2024-09-22 01:00:03 -04:00
eugene yokota
4ff0477e1e
Merge branch 'develop' into wip/matrix_followup
2024-09-22 00:59:36 -04:00
Eugene Yokota
6491e50449
fix: skip publish on synthetic aggregate root
...
**Problem**
There's been previous attempt like 1878 to skip publishing of the root,
but it seems like the behavior has regressed at some point in time.
**Solution**
This skips publishing on synthetic aggregate root project.
2024-09-22 00:53:10 -04:00
Eugene Yokota
fb4b433db3
Make Scala 3 the default axis, instead of 2.13
2024-09-21 22:40:19 -04:00
Eugene Yokota
1f71332edc
runBlock
2024-09-21 01:26:57 -04:00
eugene yokota
d2be0447f2
Merge pull request #7686 from eed3si9n/wip/test-quick
...
[2.x] feat: Rename testQuick to test
2024-09-21 00:39:07 -04:00