Gradle locks the global script cache during the entire build, causing subsequent builds to fail if scripts change

Are you saying that you are running the same build under the same user from the same workspace multiple times concurrently? If so, what’s the use case?