How to add code to build.gradle which will be applied only under IDEA sync?
I have to add KSP generated code to the source set, but the path is different for debug and release builds.
If I add static path to build file I’ll have class duplicate error at build time of opposite build variant.
How can I add code to build file which will be applied only under IDEA sync?