Ashok From my understanding of how IDEA works, you'll have to set a trigger. See https://www.jetbrains.com/help/idea/2016.2/configuring-triggers-for-maven-goals.html for further reference. It behaves the same way in maven and gradle. I see that when the 'compileJava' task is 'executed after make' the generated classes are enhanced. Hope it helps. |