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.
请先登录再写评论。
With IDEA 14.1, you can tell IntelliJ to run any task before or after project synchronization, make or rebuild. - See more at: http://blog.jetbrains.com/idea/2015/03/new-features-for-gradle-coming-in-intellij-idea-14-1