adapted gradle build file to work with latest android plugin