cannot lock java compile cache as it has already been locked by this process

Java
    find ~/.gradle -type f -name "*.lock" -delete

Source

Also in Java: