Changed build system to gradle.