fixed gradle script for upgrading android studio