Update gradle config for 0.9 and AS 0.5