updated gradle build files to work with AS-0.6+