curl and gradle