improvements to the gradle configuration