I have a java project in Intellij with gradle. It worked until a few hours ago, but suddenly after minor changes (or so I think) I get an error:
Error:gradle-resources-test:analyzer_main: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream
It is a missing ant dependency, but my project doesn't use ant. I did upgrade Intellij yesterday, to 2018.1.3 community edition. Invalidate caches/restart doesn't help, closing and opening project doesn't help, re-defining the module doesn't help.
I have to similar projects, that don't have the issue in the same instance of Intellij IDEA.
What do I do to fix this?