Reconfiguring Android build to use gradle