Update gradle configuration

For Android Studio 1.0.0.