Move to gradle build system.