I have made a simple document for how to migrate from old project to new one . Follow this document to resolve the issues. This include latest gradle with groovy .