updated gradle config for new style