When I've got a Gradle-based web application running in Tomcat (in debug mode), IntelliJ gives me the option to 'Update classes and resources'. When I invoke this action, it looks like IntelliJ kicks off two Gradle tasks:
classes, for all sub projects involved in the deployed application
09:30:47: Executing tasks ':subproject1:classes :subproject2:classes :subproject3:classes ...
- The top-level war task
09:30:47: Executing task 'war'...
Is there some way to change which tasks get invoked at this moment? I don't want to run the top-level war task, I only want to run that task for the sub project that is deployed (and any tasks it depends on, obviously). Running this tasks for the whole project is a waste of time here, as I don't need the war for other web applications in my project to get updated.