Gradle could not reuse test results (from gradle cache) generated by TC IDEA/Jacoco plugins

Gradle cache helps to speed up execution by getting results from cache if task is cacheable and input is the same. TeamCity inserts additional every time unique jvm arguments to measure JUnit test code coverage (for javaagent). And such jvmArgs influence cache calculation and prevents from getting results from cache if nothing has changed. The logic of test coverage measuring could be changed to the same like in original Gradle Jacoco plugin. It would speed up build execution in multiple times and makes much easier life for those, who imolements a workarounds to reuse test results. Any suggestions? Is it possible to implement such feature? Thanks

Please sign in to leave a comment.