Commit Graph

17422 Commits

Author SHA1 Message Date
Scala Steward 4e56e4626d
Update scala-collection-compat to 2.12.0 2024-04-17 14:24:17 +00:00
Adrien Piquerez 7c51ba2f64 Revert "Use fileConverter in cacheStore" 2024-04-17 09:30:44 +02:00
Adrien Piquerez 1765fde1ba Revert "Fix ActionCacheTest"
This reverts commit 763383cadb.
2024-04-17 09:01:29 +02:00
adpi2 771b1d3e84
Merge pull request #7538 from adpi2/sbt2-fix-force-update-period
[2.x] Fix `dependency-management/force-update-period`
2024-04-16 16:24:50 +02:00
Adrien Piquerez 1472ac287f [2.x] Fix dependency-management/force-update-period 2024-04-16 15:23:40 +02:00
eugene yokota facd7ab64e
Merge pull request #7525 from eed3si9n/wip/remoteapis
[2.x] Remote caching support
2024-04-15 18:28:46 -04:00
eugene yokota 6678746ef6
Merge pull request #7536 from sbt/eed3si9n-patch-1
Fix typo
2024-04-15 18:18:45 -04:00
Tomasz Godzik 3bc01dbe39
Merge pull request #498 from scala-steward/update/utest-0.8.3
Update utest to 0.8.3
2024-04-15 21:42:49 +02:00
eugene yokota 422d9e735f
Fix typo 2024-04-15 10:44:17 -04:00
Scala Steward 594d35e877
Update utest to 0.8.3 2024-04-15 14:31:30 +00:00
Adrien Piquerez 763383cadb Fix ActionCacheTest 2024-04-15 10:30:38 +02:00
eugene yokota acf825179b
Merge pull request #7534 from eed3si9n/wip/consistent
Consistent Analysis
2024-04-15 00:19:18 -04:00
Eugene Yokota b1a43f9adc Consistent Analysis
See also https://github.com/sbt/zinc/pull/1326

This adds a new setting `enableConsistentCompileAnalysis`,
which enables the new "Consistent" Analysis format,
which is faster and more repeatable than the status quo.
This is initialized to `true` by default.
It can be opted out either by the setting or using
`-Dsbt.analysis2024=false`.
2024-04-14 23:17:04 -04:00
eugene yokota e254370384
Merge pull request #7533 from eed3si9n/wip/sip51-error-message
Improve the SIP-51 error message
2024-04-14 21:38:23 -04:00
Eugene Yokota b19a54a1ef Improve the SIP-51 error message 2024-04-14 21:18:15 -04:00
eugene yokota 9bc0ba5f5b Update util-cache/src/main/scala/sbt/util/ActionCacheStore.scala
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
2024-04-14 14:58:13 -04:00
eugene yokota 0e67131beb
Update main/src/main/scala/sbt/Defaults.scala
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
2024-04-11 10:45:51 -04:00
Eugene Yokota 967d4a08b3 More robust against the lack of companion? 2024-04-11 13:55:29 +02:00
Eugene Yokota 33d50e2f47 Success log change fix 2024-04-11 13:55:29 +02:00
Eugene Yokota 86cf7c3a0c Remote caching support
This implements Bazel-compat remote caching support via a plugin.
2024-04-11 13:55:29 +02:00
adpi2 7064066e6f
Merge pull request #7531 from Philippus/patch-1
Remove superfluous space
2024-04-11 11:08:35 +02:00
Philippus Baalman f89505bb03
Remove superfluous space 2024-04-11 07:21:26 +02:00
adpi2 a5295ce80e
Merge pull request #7522 from adpi2/sbt2-fix-scripted
[2.x] fix scripted
2024-04-10 16:33:59 +02:00
Adrien Piquerez 8865565004 Fix classloader-cache/resources 2024-04-10 15:32:50 +02:00
Adrien Piquerez eda67a05fc Use fileConverter in cacheStore
Otherwise the store cannot sync files that are not in the out folder.
2024-04-09 16:09:44 +02:00
Adrien Piquerez 9e6612a3f8 Fix hashing of incrementalCompile 2024-04-09 15:33:22 +02:00
Adrien Piquerez 8870cb6a82 Fix Java 8 compat 2024-04-09 15:33:22 +02:00
Adrien Piquerez ab1aa6d001 Fix todos in actions/compile-clean 2024-04-09 15:33:22 +02:00
Adrien Piquerez e1cf43c6bd Add jar file to compileOutputs 2024-04-09 15:33:22 +02:00
eugene yokota 4c642e6d64
Merge pull request #7528 from eed3si9n/wip/zinc
Zinc 1.10.0-RC1
2024-04-08 23:45:17 -04:00
Eugene Yokota f804c28417 Zinc 1.10.0-RC1 2024-04-08 23:07:57 -04:00
eugene yokota 36d94c7993
Merge pull request #438 from eed3si9n/wip/util
Util 1.10.0-RC1
2024-04-08 22:51:20 -04:00
eugene yokota 671748362e
Merge pull request #437 from eed3si9n/wip/binary_sbt_version
Use 2 for binarySbtVersion in 2.x
2024-04-08 22:48:02 -04:00
Eugene Yokota 6ab6c2baa9 Util 1.10.0-RC1 2024-04-08 22:36:44 -04:00
Eugene Yokota 04fcad6d9a Use 2 for binarySbtVersion in 2.x 2024-04-08 22:33:56 -04:00
Adrien Piquerez 85fcb014f0 Fix data race to remote cache on classpath analyses
The attributed classpath should point to the existing analysis file in the target folder to avoid data racing to the remote cache.
2024-04-08 16:34:18 +02:00
Adrien Piquerez 1c03463e19 Fix test-quick 2024-04-08 10:05:52 +02:00
Adrien Piquerez b0f3cb0a8e Fix actions/completions
When loading a scripted test, sbt creates a jar file and loads it.
The path of the jar file is the same for all the batched tests.
We must prevent the JDK from caching this jar file to force a reload after each test.
Otherwise sbt tries to load the auto-plugins of a previous test and fails.
2024-04-08 10:05:52 +02:00
eugene yokota ec02bf3dc2
Merge pull request #7480 from lrytz/lib-unfreeze-m
Add support for SIP-51 (unfreezing the Scala library)
2024-04-08 01:10:05 -04:00
Adrien Piquerez 52fd2b4427 mute unused nowarn 2024-04-02 17:49:12 +02:00
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