Switch build system to gradle