Java.io.File.renameTo may not work with an existing destination file.
lagergren opened this issue · comments
Marcus Lagergren commented
Discovered in the plugin compile task. Simple fix is to change the if (x.renameTo(y)) to if ((y.exists() && y.delete()) && x.renameTo(y))
Marcus Lagergren commented
Fixed in cf292a0