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
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
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
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
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
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
friendseeker
c867f240cf
Remove unused extension method
2024-12-19 19:31:17 -08:00
friendseeker
c1ffcb26aa
fix deprecated constructor
2024-12-19 19:27:37 -08:00
friendseeker
c95ebaaf7e
Remove workaround in sbt#7783
2024-12-19 19:12:21 -08:00
eugene yokota
8a57e6c253
Merge pull request #7954 from eed3si9n/wip/bump-zinc
...
[2.x] Zinc 2.0.0-M3
2024-12-18 00:55:05 -05:00
Eugene Yokota
896dc6220d
Mark false-error test pending
2024-12-18 00:43:39 -05:00
Eugene Yokota
8e13a43f48
Zinc 2.0.0-M3
2024-12-18 00:26:30 -05:00
eugene yokota
8732d75a03
Merge pull request #7950 from eed3si9n/wip/merge-1.10.x
...
[2.x] Merge 1.10.x
2024-12-17 12:55:59 -05:00
Eugene Yokota
a420db6d6f
source-dependencies/false-error
2024-12-16 22:31:29 -05:00
Eugene Yokota
12db63951b
Address reviews
2024-12-16 22:22:33 -05:00
Eugene Yokota
5ece24ad53
Port Make credential tests intransitive
2024-12-16 22:15:18 -05:00
Eugene Yokota
3d86f30837
Merge branch '1.10.x' into wip/merge-1.10.x
2024-12-16 03:20:10 -05:00
eugene yokota
8dcdee8732
Merge pull request #7949 from eed3si9n/wip/path-mapper
...
Add Mapper that returns VirtualFile based mappings, take 2
2024-12-16 01:01:00 -05:00
Eugene Yokota
28331a7444
Remove Mapper alias
2024-12-16 00:31:07 -05:00
Eugene Yokota
0b744c1ded
Port MapperTest
2024-12-16 00:22:29 -05:00
João Ferreira
a2b046e0c3
translate mapper to use VirtualFile
2024-12-15 21:55:56 -05:00
João Ferreira
f4ae48bf72
move Mapper from sbt/io
2024-12-15 21:55:56 -05:00
João Ferreira
4a588c3fe9
Path.directory scripted test
2024-12-15 21:55:56 -05:00
eugene yokota
6d0b43a2b6
Merge pull request #7948 from eed3si9n/wip/java-home
...
[2.x] fix: Use JDK path, not JRE path
2024-12-15 21:47:57 -05:00
Eugene Yokota
e854909592
Use JAVA_HOME when available
2024-12-15 14:59:02 -05:00
Eugene Yokota
0906b2d7ac
fix: Use JDK path, not JRE path
...
**Problem**
There are a few places where javaHome or java path is set,
using java.home system property. The problem is that it points to JRE,
not JDK, so it would break on Java compilation etc.
**Solution**
If the path ends with jre, go up one directory.
2024-12-15 02:47:35 -05:00
eugene yokota
58446a3cdc
Merge pull request #7941 from eed3si9n/wip/bump-scala
...
[2.x] ci: Update to Scala 3.6.2
2024-12-11 03:12:14 -05:00
Eugene Yokota
9c124d0b10
Update to Scala 3.6.2
2024-12-10 23:45:01 -05:00
eugene yokota
ebee3a86d9
[2.x] fix: concurrency control around Scala 3 compiler ( #7938 )
...
**Problem**
Early initialization thread throws ConcurrentModificationException.
**Solution**
This puts wraps it in Retry.
2024-12-10 08:30:17 -05:00
eugene yokota
f61100fe87
Merge pull request #7933 from eed3si9n/bport/exists
...
[1.x] feat: Support glob expressions in scripted
2024-12-09 02:55:22 -05:00
eugene yokota
35eda2e40e
Merge pull request #7932 from eed3si9n/wip/exists
...
[2.x] feat: Support glob expressions in scripted
2024-12-09 02:55:07 -05:00
Eugene Yokota
c4aebf5744
feat: Support glob expressions in scripted
...
**Problem**
It's currently not easy to write a scripted test that works on
both sbt 1.x and 2.x when you want to write exists test under target.
**Solution**
Since we can only use the file system (and not evaluate Scala version etc)
1. this implements glob expression support in `exists`, `absent`, and `delete`.
2. this also introduces `||` operator that would mean a or b.
2024-12-08 23:40:27 -05:00
Eugene Yokota
d21b2d250a
feat: Support glob expressions in scripted
...
**Problem**
It's currently not easy to write a scripted test that works on
both sbt 1.x and 2.x when you want to write exists test under target.
**Solution**
Since we can only use the file system (and not evaluate Scala version etc)
1. this implements glob expression support in `exists`, `absent`, and `delete`.
2. this also introduces `||` operator that would mean a or b.
2024-12-08 23:38:00 -05:00
eugene yokota
ffb6770bde
Merge pull request #7930 from jtjeferreira/aggregate-lmCoursierShadedPublishing
...
add lmCoursierShadedPublishing to allProjects
2024-12-08 17:29:56 -05:00
João Ferreira
3d634804b6
add lmCoursierShadedPublishing to allProjects
2024-12-06 18:12:47 +00:00
eugene yokota
fdc03b782a
Merge pull request #7927 from eed3si9n/wip/uri
...
[2.x] Avoid the use of URL + Replace tuple with proper record type for licenses
2024-12-05 23:37:51 -05:00
Eugene Yokota
0fd2a356b5
inline def apply
2024-12-05 23:21:34 -05:00
eugene yokota
f996ad1a01
Merge pull request #7929 from eed3si9n/bport/cla
...
[1.x] New Scala CLA URL
2024-12-05 22:53:52 -05:00
eugene yokota
36083c9536
Merge branch 'develop' into wip/uri
2024-12-05 22:53:37 -05:00