Running ./gradlew clean(i am on Windows 10) on an (unmodified) MDK throws this exception:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':clean'.
> java.io.IOException: Unable to delete directory 'C:\path\to\MDK\build'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\path\to\MDK\build\tmp\.cache\expanded\expanded.lock
- C:\path\to\MDK\build\tmp\.cache\expanded
- C:\path\to\MDK\build\tmp\.cache
- C:\path\to\MDK\build\tmp
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
1 actionable task: 1 executed
To reproduce, run these commands:
git clone https://github.com/neoforged/MDK.git
cd .\MDK\
.\gradlew clean
Description
Running
./gradlew clean
(i am on Windows 10) on an (unmodified) MDK throws this exception:To reproduce, run these commands: