Update for scala and gradle