Updated gradle config for newer SDK versions