Right. I think IDEA is smart enough to rewrite those parts for Maven, but not for Gradle. So there might not be a good way to create a template project based on a Gradle. The best course of action would probably be to generate the sources files and the gradle build file directly into a new project. I have some code that starts that process, but I haven't figured out how to do everything I need to.