copy gradle correctly