Error while running Jacoco on Azure DevOps - "Could not find method jacocoTestReport() for arguments..."

时间:2019-04-08 13:12:19

标签: gradle azure-devops azure-pipelines jacoco

I am trying to use Jacoco for my android app on Azure DevOps, getting following error in the gradle build

Could not find method jacocoTestReport() for arguments [...] on project ':app' of type org.gradle.api.Project.

I have followed this tutorial - https://blog.gouline.net/code-coverage-on-android-with-jacoco-92ec90c9355e

Can someone help me understand what the miss might be?

Also, what must be the "task name" in the pipeline - build jacocoRootReport or testDebugUnitTestCoverage or something else?

0 个答案:

没有答案