Open grv87 opened 6 years ago
It is actually a Gradle issue - see https://github.com/gradle/gradle/issues/884
Current Gradle implementation actually interferes with current run, see https://github.com/gradle/gradle/issues/7883.
See https://stackoverflow.com/questions/17181342/how-to-get-a-windows-batch-file-to-update-itself-safely for probable workarounds.
We could (try to) integrate with Gradle Wrapper if we finalize
gradlew
task with running that new Gradle versionwrapper
task. We should be able to overwrite current Gradle wrapper files without interfering with current run since it is exactly what second run does.