Adrien Piquerez
5c200d6258
Optimize ScopeFilter
2024-09-10 11:39:40 +02:00
Adrien Piquerez
b1564d4888
Add cachePath to CompileInputs2 to fix dependency-management/test-artifact
...
We cannot recover compilation after the path of the Zinc cache changed
2024-08-27 16:02:27 +02:00
Adrien Piquerez
47c60bab2e
Fix cleaning packed dir
...
`clean` should delete the packed dir. If it does not,
the next `compileIncremental`, which is a cache hit, will see that
the packed dir is already there and will not unpack it.
2024-08-26 16:29:21 +02:00
Eugene Yokota
b7e037adbb
Use VirtualFileRef of the classes directory
2024-08-22 01:49:49 -04:00
Eugene Yokota
d9e3bb52b3
Remove unnecessary settings
2024-08-18 12:57:29 -04:00
Eugene Yokota
e0f0550276
Migrate cachedCompileIncrementalTask to dir caching
2024-08-18 12:57:29 -04:00
Eugene Yokota
3ef3a605c2
Merge branch '1.10.x' into wip/merge-1.10.x
2024-08-18 12:37:24 -04:00
Eugene Yokota
4752e180fd
Update lm
2024-06-09 17:56:17 -04:00
Adrien Piquerez
3ec8bd2269
Fix fetching Scala 2.13.12 bridges
2024-06-06 17:41:20 +02:00
Adrien Piquerez
64a8d5ff31
Fix Defaults
2024-06-06 10:36:29 +02:00
Adrien Piquerez
492cd2c091
Fix compilation
2024-06-06 10:36:29 +02:00
adpi2
586e0a752c
Merge pull request #7568 from adpi2/fix-bsp-internal-dep-configs
...
[1.10.x] Fix declaring `Optional` inter-project dependency in BSP
2024-05-23 08:50:43 +02:00
Adrien Piquerez
9a3c4a6f53
Fix dependency-management/force-update-period
2024-05-21 16:54:14 +02:00
Adrien Piquerez
f990bd2d8d
[BSP] Fix importing Optional project dependency
2024-05-21 15:56:37 +02:00
Eugene Yokota
c81d269ed2
Merge branch '1.10.x' into wip/merge-1.10.x
2024-05-07 04:39:25 -04:00
Eugene Yokota
bc4d5830e9
Banner for sbt 1.10.0
2024-05-05 22:38:05 -04:00
Eugene Yokota
ae1f829f9f
Include universal macOS sbtn
2024-05-05 22:34:58 -04:00
Eugene Yokota
aac79df4a3
Fix old Dotty plugin compat
...
**Problem**
https://github.com/scala/scala3/pull/20157 identified that
`sbt-dotty/dotty-knowledge.i17` scripted test fails on sbt 1.10.0-RC2.
The regression happened in https://github.com/sbt/sbt/pull/7480/files#diff-6d9589bfb3f1247d2eace99bab7e928590337680d1aebd087d9da286586fba77L739-L740
where global setting was removed, and moved to project level.
**Solution**
This restores the global setting that is apparently referenced by
now defunct Dotty plugin.
2024-05-05 01:55:32 -04:00
Adrien Piquerez
2e439cab1e
[2.x] report cache errors
...
Report a cache error if the output file of a task is not cacheable
2024-04-24 10:41:56 +02:00
Adrien Piquerez
7c51ba2f64
Revert "Use fileConverter in cacheStore"
2024-04-17 09:30:44 +02:00
Adrien Piquerez
1472ac287f
[2.x] Fix dependency-management/force-update-period
2024-04-16 15:23:40 +02:00
eugene yokota
422d9e735f
Fix typo
2024-04-15 10:44:17 -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
b19a54a1ef
Improve the SIP-51 error message
2024-04-14 21:18:15 -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
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
Philippus Baalman
f89505bb03
Remove superfluous space
2024-04-11 07:21:26 +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
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
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
129b38f55b
Fix tests/serial
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
222410009b
fix no-scala-tool
2024-04-02 17:49:12 +02:00
Adrien Piquerez
e2c7a294f8
minor change
2024-03-27 14:41:24 +01:00
Adrien Piquerez
453ccc6805
Uncomment pending tests
2024-03-26 10:12:29 +01:00
Adrien Piquerez
627bd6bea1
Fix checkTargets
2024-03-25 10:52:15 +01:00
Adrien Piquerez
b5afcf8a0c
Fix server completion tests
2024-03-19 17:06:09 +01:00
Adrien Piquerez
03ca5365f5
Fix BuildServerTest
2024-03-19 17:06:09 +01:00
Adrien Piquerez
924150851c
Port server tests to scalatest and fix
2024-03-19 17:06:09 +01:00
Adrien Piquerez
e62984846b
Re-implement BuildServerEvalReporter
2024-03-19 17:06:09 +01:00
Seth Tisue
735214afd0
Scala 2.12.19 (was 2.12.18), scala-xml 2.2.0 (was 2.1.0)
2024-03-16 11:39:55 +01:00
Adrien Piquerez
7ca6ad5fec
Fix resolution of bridge using Coursier
2024-03-06 16:40:41 +01:00