mirror of https://github.com/sbt/sbt.git
Resource and JAR atomicity is pushed down into sbt/io 1.12.0-SNAPSHOT (IO.copyFile, IO.transfer, IO.jar/zip stage to a sibling temp file and atomic-move into place). Bump sbt's io dependency to consume that. In Package.makeJar, stop deleting the existing JAR before calling IO.jar. Atomic IO.jar replaces the destination only after the staged JAR is complete, so deleting up front would just destroy the last good artifact on interrupt without changing the failure mode. Generated-by: Codex (gpt-5.5) and Claude Sonnet 4.6 |
||
|---|---|---|
| .. | ||
| ContrabandConfig.scala | ||
| Dependencies.scala | ||
| Docs.scala | ||
| HouseRulesPlugin.scala | ||
| NightlyPlugin.scala | ||
| PackageSignerPlugin.scala | ||
| PublishBinPlugin.scala | ||
| SbtLauncherPlugin.scala | ||
| Scripted.scala | ||
| Transform.scala | ||
| Util.scala | ||
| build.properties | ||
| flamegraph_svg.png | ||
| plugins.sbt | ||