Gradle source build keeps failing on windows, not sure why


(HOA PHAN) #1

FAILURE: Build failed with an exception.

  • What went wrong:
    java.io.IOException: Unable to delete directory C:\Users\hoaphan\gradle\subprojects\maven\build\classes\java\main\org\gradle\api\publish\maven.

Unable to delete directory C:\Users\hoaphan\gradle\subprojects\maven\build\classes\java\main\org\gradle\api\publish\maven.

  • 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 1m 43s
267 actionable tasks: 161 executed, 106 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no]
yes
Gradle Cloud Services license agreement accepted.

Publishing build scan…

https://scans.gradle.com/s/jnwug7a5pfzk6