Gradle Enterprise - Add non cacheable Maven goals


Couple of queries:

  • Are there examples available to understand and implement non-cacheable goals for Gradle Enterprise?

  • I am executing npm tasks including test and coverage in context of maven exec goal and would like to cache the tests run and results within the cache (currently it take 30 mins to execute). How can it be achieved?