Update gradle config to work with gradle 2.2.1 and AndroidStudio 1.0