But Idea can use Gradle project, what a problem with that, Idea generate or compile nothing, but delegate that to Gradle? The only thing that you should do for idea is just apply "idea" plugin to you Gradle project, to allow Idea see generated build sources (for code navigation, build should work without that)