xuwei-k
13d6626564
update .scalafmt.conf. enforce new scala 3 syntax
2025-01-02 11:25:34 +09:00
xuwei-k
a7ba960c17
use enum instead of sealed trait
2025-01-02 10:52:37 +09:00
xuwei-k
e0a51807bc
change to using param anonymous if possible
2025-01-02 10:35:15 +09:00
eugene yokota
1a8e5fbd4d
Merge pull request #7994 from xuwei-k/unused-build-file
...
[2.x] remove unused code in build files
2025-01-01 14:30:12 -05:00
xuwei-k
3452b9eb26
remove unused code in build files
2025-01-01 19:19:48 +09:00
xuwei-k
d7ec1013da
remove unused type params
2025-01-01 18:42:59 +09:00
eugene yokota
e04039a2ed
Merge pull request #7992 from xuwei-k/foreach-map
...
[2.x] use `foreach` instead of `map`
2025-01-01 03:07:05 -05:00
eugene yokota
8be482533a
Merge pull request #7991 from xuwei-k/lazyZip
...
[2.x] use `lazyZip`
2025-01-01 03:06:26 -05:00
eugene yokota
308af6c695
Merge pull request #7990 from xuwei-k/extaHashes-typo
...
[2.x] fix typo
2025-01-01 03:05:58 -05:00
eugene yokota
ae64f718d7
Merge pull request #7989 from xuwei-k/incorrect-scaladoc-param
...
[2.x] remove incorrect scaladoc `@param` tag
2025-01-01 03:05:35 -05:00
eugene yokota
6a3f16de7c
Merge pull request #7988 from xuwei-k/correspond-file-class-name
...
[2.x] correspond file name and class name
2025-01-01 03:05:08 -05:00
eugene yokota
72589cc1a9
Merge pull request #7987 from xuwei-k/collectFirst-headOption
...
[2.x] use `collectFirst` instead of `collect` and `headOption`
2025-01-01 03:04:14 -05:00
eugene yokota
df6e1bc2aa
Merge pull request #7986 from xuwei-k/string-interpolation-format-s
...
[2.x] use string interpolation instead of `format` method
2025-01-01 03:03:43 -05:00
eugene yokota
8068748f26
Merge pull request #7985 from xuwei-k/vararg-splice
...
[2.x] remove unnecessary vararg splice
2025-01-01 03:01:33 -05:00
eugene yokota
7a36bc21f2
Merge pull request #7984 from xuwei-k/unnecessary-asInstanceOf
...
[2.x] remove unnecessary `asInstanceOf`
2025-01-01 02:57:53 -05:00
xuwei-k
580722994a
use foreach instead of map
2025-01-01 16:42:25 +09:00
xuwei-k
5c5a14aac5
use lazyZip
2025-01-01 16:34:54 +09:00
kenji yoshida
26eaee1ac1
fix typo
2025-01-01 16:29:51 +09:00
xuwei-k
c35e1539a0
remove incorrect scaladoc `param` tag
2025-01-01 16:25:30 +09:00
xuwei-k
2167a72ac3
correspond file name and class name
2025-01-01 16:12:30 +09:00
xuwei-k
5438781142
use collectFirst instead of collect and headOption
2025-01-01 16:06:34 +09:00
xuwei-k
13563f9d49
use string interpolation instead of `format` method
2025-01-01 16:02:11 +09:00
xuwei-k
3d6286edc2
remove unnecessary vararg splice
2025-01-01 15:47:55 +09:00
xuwei-k
a444208b80
remove unnecessary asInstanceOf
2025-01-01 13:32:05 +09:00
eugene yokota
fde334bdd6
Merge pull request #7983 from Friendseeker/lazy-previous-compile
...
[1.x] Avoid upstream compilation when calling `previousCompile`
2024-12-30 23:38:14 -05:00
friendseeker
c834f500b9
Add comment
2024-12-30 19:30:15 -08:00
Friendseeker
1a8fa65af3
Avoid upstream compilation when calling previousCompile
2024-12-30 17:55:42 -08:00
eugene yokota
439e24fb84
Merge pull request #7979 from eed3si9n/wip/retry
2024-12-30 08:47:04 -05:00
adpi2
2eba8e4e8b
Merge pull request #7980 from xuwei-k/Try-toIntOption
...
[2.x] use `toIntOption` instead of `scala.util.Try`
2024-12-30 10:00:23 +01:00
adpi2
011c7083ad
Merge pull request #7913 from Friendseeker/sbt-7510
...
[1.x] Implement `jvmBuildTarget` for `workspace/buildTargets`
2024-12-30 09:06:53 +01:00
xuwei-k
f255c38892
use toIntOption instead of scala.util.Try
2024-12-30 13:13:53 +09:00
Eugene Yokota
799bd65ba5
fix: Retry create directory
...
**Problem**
Files.createDirectories can fail.
**Solution**
Use IO version, which retries.
2024-12-29 03:18:18 -05:00
eugene yokota
038d9b28e4
Merge pull request #7969 from Friendseeker/clean-zinc-cache
...
[1.x] Clear Zinc Analysis Cache during `Compile / clean`, `Test / clean`
2024-12-28 23:57:59 -05:00
eugene yokota
acd76d29a9
Merge pull request #7977 from eed3si9n/wip/term-capability
...
[2.x] Cache terminal capability
2024-12-28 14:53:56 -05:00
Eugene Yokota
515cae27a8
Cache terminal capability
...
**Problem**
JSON-RPC is currently full of terminal capability query
since JLine seems to be asking them for each line.
**Solution**
This caches the query.
2024-12-28 04:09:01 -05:00
Friendseeker
13373415b3
Fix CI
2024-12-26 18:43:04 -08:00
friendseeker
e23419efed
Clean Zinc Cache for 'Compile / clean', 'Test / clean'
2024-12-26 15:37:33 -08:00
Friendseeker
838eee97cd
Fix CI
2024-12-26 15:05:00 -08:00
Friendseeker
655310061f
Add unit test
2024-12-26 14:56:18 -08:00
Friendseeker
ad0ab07e99
Return jvmBuildTarget for workspace/buildTargets
2024-12-26 12:24:14 -08:00
Eugene Yokota
3529e20279
sbt 1.10.7
2024-12-22 21:26:54 -05:00
eugene yokota
03dc7172a7
Merge pull request #7970 from eed3si9n/wip/lm-coursier
...
[1.x] csrMavenDependencyOverride + Update lm-coursier to 2.1.7 + Zinc 1.10.7
2024-12-22 20:12:54 -05:00
Eugene Yokota
de04f1f847
Update lm-coursier to 2.1.7
...
**Problem**
BOM support current has perf issues.
**Solution**
This bumps Coursier to 2.1.22.
This also adds a new setting `csrMavenDependencyOverride`,
which will default to false.
2024-12-22 19:59:49 -05:00
eugene yokota
bb796dc0e4
Merge pull request #7966 from eed3si9n/wip/allow-empty
...
[1.x] fix: --allow-empty fixes
2024-12-22 03:37:04 -05:00
Eugene Yokota
cd58481811
--allow-empty fixes
...
**Problem**
1. Currently users are automatically opted into -create-sbt,
somewhat implicitly.
2. When somehow they are not, the check mechanism currently blocks for input.
**Solution**
1. Support a new location for sbtopts file under XSG_CONFIG_HOME/sbt
2. Rename -create-sbt to --allow-empty, and don't opt everyone in
3. Exit 1 instead of blocking for input
2024-12-22 02:21:38 -05:00
eugene yokota
e81cfa21e2
Merge pull request #7968 from eed3si9n/wip/glob-fix
...
[1.x] fix: Fixes glob in scripted
2024-12-22 02:19:56 -05:00
Eugene Yokota
72c061a2a2
fix: Fixes glob in scripted
...
**Problem**
Absolute path handling regressed.
**Solution**
Create an absolute glob for expression starting with /.
2024-12-22 01:32:16 -05:00
eugene yokota
e218c107f0
Merge pull request #7962 from Friendseeker/restore-disabled-test
...
[1.x] Restore disabled Multirepo integration test
2024-12-20 03:54:02 -05:00
friendseeker
7312398695
Restore Multirepo integration test
2024-12-20 00:12:57 -08:00
eugene yokota
40f5cd1b45
Merge pull request #7961 from Friendseeker/remove-workaround
...
[2.x] Remove workaround from #7783
2024-12-20 00:07:48 -05:00