Fix compileJava by replacing actions instead of 'overwrite = true'