Gradle fix for android studio 1.0