|
|
|
|
|
by lokedhs
3004 days ago
|
|
To answer your question as to why an IDE can't do it, the reason is that in order to do it you need to solve the halting problem. Of course, the IDE can do it if you limit yourself to a subset that is not fully Turing complete, which is what IDEA does today. The issue a lot of people have with Gradle is that this subset is not well defined, and it's very easy to do something that works but will get the tools to have problems, and debugging such issues is not particularly entertaining. |
|
IDE cannot get the graph by analyzing scripts, but it does not need to: instead it can ask Gradle for the model. The model itself has nothing to do with Turing completeness.