Converted to Gradle build