Exclude web build from integration module build

So I have multi-project Gradle build:

  • core module
  • api module
  • integration-test module
  • web module

The web module build is long and sophisticated which installs Node dependencies etc.
The integration-test module has dependencies from core and api modules only. When I run integration-test build however, the web module gets built as well. How do I ignore this for this module?