UPDATE 2 :
Firebase support still says the fix is not complete, but I tried it today with the latest versions of firebase-perf and jacoco and it works.
UPDATE 1 :
firebase-perf does not work with jacoco when supporting Java 1.8 . The Firebase support team was able to replicate and explore.
Original post :
This is similar to triggering when the firebase-perf plugin is firebase-perf . I filed an error with the Firebase team and am updated if I get a response.
As a temporary workaround, just commenting on apply plugin ... firebase-perf should help. It will disable Auto @AddTrace , but @AddTrace and newTrace should still work.
In my case, testCoverageEnabled set conditionally based on the project property, and I don't need the firebase-perf plugin to evaluate coverage, so I just disabled the plugin:
if (!project.hasProperty('coverageRun')) { apply plugin: 'com.google.firebase.firebase-perf' } // < ... > if (project.hasProperty('coverageRun')) { testCoverageEnabled true }
source share