Updated for gradle-1.0.0 and android-studio-1.0.0.