fixed gradle files to work with AS 1.0