updated gradle build file for AS 0.6.1 compatibility.