[2.x] Delete bootDirectory in cleanFull (#9060)

This commit is contained in:
kenji yoshida 2026-04-11 15:28:38 +09:00 committed by GitHub
parent f8a8742dbe
commit 7408fc93c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -226,6 +226,13 @@ private[sbt] object Clean {
case d: DiskActionCacheStore => d.clear()
case _ => ()
IO.delete(outputDirectory.toFile())
IO.delete(
s.configuration
.provider()
.scalaProvider()
.launcher()
.bootDirectory()
)
s
Command.command(CleanFull, h)(expunge andThen clearCachesFun)
}