Running a custom task when IntelliJ imports a project from Gradle

I'd like to run our code generation tasks when IDEA imports the Gradle project.

Are there any hooks I can use? I.e. if IDEA could run the dependencies, finalizers, pre- and post- hooks of the "idea" tasks that would have been enough for me.

1 comment
Comment actions Permalink

With IDEA 14.1, you can tell IntelliJ to run any task before or after project synchronization, make or rebuild. - See more at:


Please sign in to leave a comment.