Changed for Android Gradle plugin 0.9

see http://tools.android.com/tech-docs/new-build-system/migrating_to_09
Merge pull request #465 from jca02266/master

Changed for Android Gradle plugin 0.9