mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
sbt should not by default create files in the location specified by java.io.tmpdir (which is the default behavior of apis like IO.createTemporaryDirectory or Files.createTempFile) because they have a tendency to leak and it also isn't even guaranteed that the user has write permissions there (though this is unlikely). Doing so creates the possibility for leaks I git grepped for `createTemp` and found these apis. After this change, the files created by sbt should largely be localized to the project and sbt global base directories.