converted to Gradle
updated for v0.5.0