SpringBoot project gradle build 'bootRepackage' task fails because it is unable to rename jar

Dear Gradle team,

My company uses windows in development, and we have several sub-projects to be built for application. The problem from the stack-overflow discussion happened on us and we have to resolve this issue by adding “bootRepackage.enabled=false” in subproject, so the main project can be built.

Is there a possibility to support windows’s file rename properly ? ( We are using Windows 10)

Please advise, and many thanks.