a3f8987255
For some reason, gradle.projectsEvaluated callback evaluates after IDEA import script gathers all project models. So, all jps related project settings (including artifacts configurations) won't be imported. We need only :prepare:idea-plugin evaluated. So replacing gradle.projectsEvaluated to root Project.afterEvaluate and forcing evaluation of :prepare:idea-plugin fixes the problem.