Closed BulatMukhutdinov closed 5 years ago
I tried putting the task code in the linked Gist into a build but the example simply fails to compile. The gist is missing how you use the extracted task type. After some minor changes unrelated to this issue your task type compiles. I was able to create and run it without any issue.
Please use the Gradle forums for support questions https://discuss.gradle.org/ and provide a build ready to reproduce if possible.
Expected Behavior
Running testCoverageReport task generates a report
Current Behavior
Running testCoverageReport task raises an error
Context
I am trying to convert gradle typed task to kotlin class. https://gist.github.com/BulatMukhutdinov/c6355d84a34ed40d1031a879f3e0a523 I have jacoco.gradle.kts file with testCoverageReport task wich generates coverage report. Now I am trying to convert it to custom class TestCoverageReportTask and registering new typed task. But when I running this task I get an error
Your Environment
gradle version is
Android Studio version is
Kotlin version is