fix gradle to support Android Studio 1.0

Sorry to push the version in my local environment here. It has been reverted.