Hi again, another question about IDEA, gradle and annotation processing. Can I somehow specify in my desktop project gradle files to run the annotation processing tasks when the project is built in IDEA? Right now I'm in a similar situation like in this example:
https://github.com/JetBrains/kotlin-examples/tree/master/gradle/kotlin-dagger Building the project succeeds fine from the command line, but build from IDEA complains about Dagger generated classes not being found. If I select the kaptKotlin task from the Gradle view on the right sidebar and check Execute before build it works fine. I was wondering if I could add something to my build files to automate this.