Update Gradle script to support v0.11