Compiling version transferred from older project and converted to Gradle build system