Fixed warnings in gradle script.