updated gradle conf to new style