Converted build system to Gradle