Commit Graph

17404 Commits

Author SHA1 Message Date
Matt Dziuban 77ca8ea29a Add test for recovering from invalid JSON in disk cache. 2025-10-07 14:01:38 -04:00
Matt Dziuban c660c56644 Move `IO.read` and `Parser.parseUnsafe` calls inside `try`. 2025-10-07 13:28:10 -04:00
eugene yokota a8f8aa41fa
Merge pull request #8330 from xuwei-k/redundant-val
remove redundant `val` modifier
2025-10-06 00:17:07 -04:00
xuwei-k 14b7ddf867 remove redundant `val` modifier 2025-10-06 09:28:27 +09:00
eugene yokota 1138926f99
Merge pull request #8324 from xuwei-k/nowarn-annotation
remove unnecessary `@nowarn` annotations
2025-10-04 13:46:54 -04:00
eugene yokota d69ef92525
Merge pull request #8327 from xuwei-k/windows-client-test-retry
retry Windows client test
2025-10-04 13:46:07 -04:00
eugene yokota f4277da9f1
Merge pull request #8323 from xuwei-k/unused-code
remove unused code
2025-10-04 13:45:54 -04:00
eugene yokota b43a5e466b
Merge pull request #8322 from xuwei-k/OrganizationArtifactReport-reflective
remove `Selectable.reflectiveSelectable` in dependency-graph
2025-10-04 13:45:14 -04:00
eugene yokota cc92b0c5d6
Merge pull request #8325 from xuwei-k/build-sbt-scala-version-2-12 2025-10-04 12:14:30 -04:00
xuwei-k 7cf625281b retry Windows client test 2025-10-04 20:31:45 +09:00
xuwei-k 4b9cac1212 cleanup build.sbt setting 2025-10-04 19:48:10 +09:00
xuwei-k 038fa6c476 remove unnecessary nowarn annotations 2025-10-04 19:25:11 +09:00
xuwei-k d1a1dd9edd remove unused code 2025-10-04 19:16:22 +09:00
xuwei-k 3e1eb3737d remove Selectable.reflectiveSelectable in dependency-graph 2025-10-04 15:36:41 +09:00
eugene yokota 028248f73e
Merge pull request #8314 from xuwei-k/sbt-native-image
update sbt-native-image
2025-09-29 12:55:26 -04:00
xuwei-k 21843be03c update sbt-native-image 2025-09-29 19:17:40 +09:00
xuwei-k 4b1b7091ab update mima settings 2025-09-29 17:31:05 +09:00
eugene yokota 0be88cdaac
Merge pull request #8312 from eed3si9n/wip/plugin-cross
[2.x] fix: Fixes PluginCross
2025-09-29 01:46:39 -04:00
Eugene Yokota 140274c31d fix: Fixes PluginCross 2025-09-29 01:18:31 -04:00
eugene yokota 14f2516b64
Merge pull request #8306 from xuwei-k/project-Dependencies-compilerBridge
remove unused code in `project/Dependencies.scala`
2025-09-29 01:03:29 -04:00
eugene yokota f97dff4305
Merge pull request #8311 from eed3si9n/wip/merge-1.11.x
[2.x] Merge 1.11.x
2025-09-29 01:02:58 -04:00
Eugene Yokota 8f2160ba43 Adjust tests 2025-09-29 00:31:24 -04:00
Eugene Yokota 763b05fd91 Update mima setting 2025-09-28 23:41:01 -04:00
Eugene Yokota ef6c65b481 Update to Zinc 2.0.0-M9 2025-09-28 23:09:07 -04:00
Eugene Yokota d826f1f903 Merge branch '1.11.x' into wip/merge-1.11.x 2025-09-28 23:08:36 -04:00
eugene yokota e99d0d9258
Merge pull request #8310 from eed3si9n/wip/fix-conraband
[2.x] fix: Set contrabandScala3enum to false
2025-09-28 22:22:32 -04:00
Eugene Yokota 27e6342bea Update mima 2025-09-28 21:44:16 -04:00
Eugene Yokota 645908f597 Apply Contraband 2025-09-28 21:28:21 -04:00
Eugene Yokota d10f6ee54e fix: Set contrabandScala3enum to false 2025-09-28 21:28:06 -04:00
xuwei-k d90de41898 remove unused code in project/Dependencies.scala 2025-09-29 06:57:02 +09:00
eugene yokota b52944cd3c
Merge pull request #8303 from eed3si9n/wip/jdk25-main
[1.x] Support JDK 25 JEP-512/JEP-445 Main run
2025-09-28 02:15:00 -04:00
Eugene Yokota 2e7d3fdf93 Support JDK 25 JEP-512/JEP-445 Main run
**Problem**
sbt currently does not support JDK 25 Main class. JDK 25 supports:
1. non-public main method
2. doesn't need Array[String] arg
3. doesn't have to be a static method

**Solution**
This updates Zinc, which supports new Main class detection.

In addition, this implements in-process run emulation support.
2025-09-28 01:51:24 -04:00
eugene yokota d44b2c8720
Merge pull request #8296 from xuwei-k/enable-nio-scripted-test-2
enable some scripted tests
2025-09-26 00:49:34 -04:00
eugene yokota 461aafcfe2
Merge pull request #8302 from eed3si9n/wip/giter8-resolver
[2.x] Update Giter8TemplatePlugin
2025-09-26 00:20:53 -04:00
Eugene Yokota 3e0f49d01b Update Giter8TemplatePlugin
Update to reference sbt-giter8-resolver 0.18.0
2025-09-25 21:58:34 -04:00
eugene yokota ba60e483b3
Merge pull request #8298 from xuwei-k/format-off-comment 2025-09-24 09:37:26 -04:00
xuwei-k 1a882b0dc3 remove some `format: off` comments 2025-09-24 18:49:30 +09:00
xuwei-k a62ee86b2b enable some scripted tests 2025-09-24 07:41:33 +09:00
eugene yokota 9713b7c112
Merge pull request #8295 from xuwei-k/nio-scripted-tests
enable some scripted tests
2025-09-23 12:07:47 -04:00
xuwei-k 028dc35308 enable some scripted tests 2025-09-23 20:09:47 +09:00
eugene yokota d31f9869d4
Merge pull request #8293 from xuwei-k/scalafmt-build-files
update scalafmt config. re-format build files
2025-09-22 22:45:35 -04:00
xuwei-k ecf6be6b6b update scalafmt config. re-format build files 2025-09-23 10:28:38 +09:00
eugene yokota 7e1d39e2e4
Merge pull request #8292 from xuwei-k/mima-RC5
update mima setting
2025-09-22 00:15:52 -04:00
xuwei-k 40c29e9599 update mima setting 2025-09-22 12:34:32 +09:00
eugene yokota a615ff3c1b
Merge pull request #8290 from eed3si9n/wip/aggregate
[2.x] Auto aggregate
2025-09-21 16:50:28 -04:00
Eugene Yokota 748bf1207f Auto aggregate
**Problem**
For sbt 1.x, the user is forced to pick between having a stable ID for the root project,
or having the automatic aggregation of all subprojects.
The problem becomes more pronounced for large build that frequent add/remove subprojects.

**Solution**
This implements `.autoAggregate` method on `Project`, which is implemented as
`this.aggregate(LocalAggregate)`.
At the loading time, we can automatically expand `LocalAggregate` to a list of subproject references,
after we discover all subprojects.
The `autoAggregate` will use the base directory of the subproject to pick the parent-child
relationship. For example, a root project would aggregate all subprojects,
but `bar` might aggregate only `bar/bar1` and `bar/bar2`.
2025-09-21 13:40:53 -04:00
eugene yokota 84fcb1a3a6
Merge pull request #8289 from eed3si9n/wip/bump-zinc 2025-09-19 10:34:05 -04:00
Eugene Yokota c9ca5b5555 Update to Zinc 2.0.0-M8 2025-09-19 01:46:16 -04:00
eugene yokota b37f59c57f
Merge pull request #8287 from eed3si9n/wip/contraband
[2.x] Update to Contraband 0.8.0
2025-09-19 01:45:14 -04:00
Eugene Yokota 2fa3159f18 Update to Contraband 0.8.0 2025-09-19 00:46:34 -04:00