Gradle and a fix to make it compile (still crashes when rendering, but that is your issue)