Updated build.gradle to use the latest 0.4.x plugin