Commit Graph

115 Commits

Author SHA1 Message Date
Adrien Piquerez 129b38f55b Fix tests/serial 2024-04-02 17:49:12 +02:00
Adrien Piquerez ed12ebc5cc fix test/scala-instance-classloader 2024-04-02 17:49:12 +02:00
Adrien Piquerez debc5a39a7 enable run/spawn-exit 2024-04-02 17:49:12 +02:00
Adrien Piquerez 3c04787777 fix run/non-local-main 2024-04-02 17:49:12 +02:00
Adrien Piquerez 2139a6a203 enable run/fork-loader 2024-04-02 17:49:12 +02:00
Adrien Piquerez d9b024cf91 fix project1/ignore-hidden-build-files 2024-04-02 17:49:12 +02:00
Adrien Piquerez 4a946a68cd Fix project1/extra 2024-04-02 17:49:12 +02:00
Adrien Piquerez a92b975032 fix derived 2024-04-02 17:49:12 +02:00
Adrien Piquerez c88a341021 Fix binary-plugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 6e44d9df2a fix auto-plugins-default-requires-jvmplugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 222410009b fix no-scala-tool 2024-04-02 17:49:12 +02:00
Adrien Piquerez 9c425ea581 Fix version-interval 2024-04-02 17:49:12 +02:00
Adrien Piquerez 5c2b95980b Fix exclude-dependencies and exclude-dependencies2 2024-04-02 17:49:12 +02:00
Adrien Piquerez 3d3b347c8f Fix pom-advanced 2024-04-02 17:49:12 +02:00
Adrien Piquerez 85943bc33b fix src-dep-plugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 654d35d1ba Fix triggeredBy and runBefore 2024-04-02 17:47:48 +02:00
Adrien Piquerez ab9f29590e fix cross-advanced 2024-03-27 14:41:24 +01:00
Adrien Piquerez d001e30530 Fix compile-time-only 2024-03-27 14:41:24 +01:00
Adrien Piquerez 84b933802e Fix compile-clean partially
There is still no auto-definition of clean on tasks that return Seq[Path]
2024-03-27 14:41:24 +01:00
Adrien Piquerez 0005705eb6 Fix += on sourceGenerators 2024-03-27 14:41:24 +01:00
Adrien Piquerez c6ef392027 fix scripted 2024-03-25 13:16:38 +01:00
Adrien Piquerez d02696e886 Enable scripted test 2024-03-19 17:06:09 +01:00
Adrien Piquerez 323d1da16e fix scripted 2024-03-06 14:43:23 +01:00
Adrien Piquerez 12e9267e1e Remove more unused 2024-03-05 15:25:25 +01:00
Adrien Piquerez c15a4031a9 Fix or mute warnings 2024-03-05 10:39:00 +01:00
adpi2 64be877549
Merge pull request #7491 from adpi2/misc-cleanup
[2.x] Miscellaneous cleanup
2024-02-08 17:42:35 +01: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 7ac3cd321d Remove the unused ~> 2024-02-07 11:12:43 +01:00
Adrien Piquerez a15fb91c5c Remove AList 2023-12-13 14:01:57 +01:00
Eugene Yokota e0e2ffce9c Mark doc-dependent tests pending 2023-11-27 02:25:23 -05:00
Eugene Yokota 035cc8da60 Fix ivyPaths 2023-11-27 01:54:03 -05:00
Eugene Yokota 290d8f1a59 Mark test-artifact pending 2023-11-27 01:54:03 -05:00
Eugene Yokota a8b46219ea Mark actions/doc pending 2023-11-27 01:54:03 -05:00
Eugene Yokota f9686b2f0c Disable fork-loader test 2023-11-26 21:11:03 -05:00
Eugene Yokota dd2dd44de3 Update to lm 2.0.0-alpha12 2023-11-25 21:00:42 -05:00
Adrien Piquerez b6510a1c1c scripted run/fork-loader is not pending anymore 2023-11-22 11:51:15 +01:00
Eugene Yokota 72af500294 Subsume platform cross building
Problem
-------
In sbt 1, platform cross building is implemented using in the user-land
using `%%%` operator, which clevery handles both Scala cross building
and appending platform suffix like sjs1.
However, in general symbolic `%%%` is confusing, and hard to explain.

Solution
--------
In sbt 2, we should subsume the idea of platform cross building,
so `%%` can act as the current `%%%` operator.
This adds a new setting called `platform`, which defaults to
`Platform.jvm` by default.
When a subprojects sets it to `Platform.sjs1`, `ModuleID`s defined using
`%%` operator will inject the platform suffix `_sjs1` **in addition**
to the Scala binary suffix `_2.13` etc.

Note: Explicit JVM dependencies will now require `.platform(Platform.jvm)`.
2023-03-12 13:38:56 -04:00
Eugene Yokota dbaa34bdac Interpret bare settings are common settings
See https://eed3si9n.com/simplifying-sbt-with-common-settings/

Problem
-------
The behavior of bare settings is confusing in a multi-project build.
This is partly due to the fact that to use `ThisBuild` scoping
the build user needs to be aware of the task implementation,
and know if the task is already defined at project level.

Solution
--------
This changes the interpretation of the baresettings to be common
settings, which works similar to the way `ThisBuild` behaves in sbt 1.x,
but since this would be a simple append at project-level, it should
work for any tasks or settings.
2023-03-11 17:02:07 -05:00
Eugene Yokota b4564306d6 Move the project scripted tests to project1 2023-01-26 15:12:19 -05:00
Eugene Yokota ec3eda3cc2 scripted tests 2023-01-20 21:50:53 -05:00
Eugene Yokota 9219ed6bd4 lm alpha10 2023-01-19 17:48:21 -05:00
Eugene Yokota 84a5fcb035 Use extension method to encode the syntax 2023-01-18 00:50:30 -05:00
Eugene Yokota e8223cc8be Fixes scripted tests 2023-01-15 23:50:31 -05:00
Eugene Yokota fc31bc3d15 Fix aggregation 2023-01-15 23:50:30 -05:00
Eugene Yokota e1c4fd5f1d Fix setting loading 2023-01-15 23:50:30 -05:00
Eugene Yokota eb7a51c629 Mark dependency management tests pending 2023-01-15 23:50:30 -05:00
Eugene Yokota 5bbb671341 config macro 2023-01-15 23:50:30 -05:00
Eugene Yokota d4dc90efd9 add Conversion from Project => LocalProject 2023-01-15 23:50:30 -05:00
Eugene Yokota b1818b446b Convert to using slash syntax 2023-01-15 23:50:29 -05:00
Eugene Yokota fbc98ed72e Use ClassTag instead of Manifest 2023-01-15 23:50:29 -05:00