Skip to content

build cache support for reportScoverage tasks #74

Open
@dsilvasc

Description

@dsilvasc

The reportScoverage task runs on every ./gradlew check invocation, even when running it multiple times in sequence without any changes to the source.

Would it be possible to make it work with up-to-date checks and the gradle build cache?

> Task :testing:reportScoverage
Caching disabled for task ':testing:reportScoverage': Caching has not been enabled for the task
Task ':testing:reportScoverage' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java''. ... Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java ... org.scoverage.SingleReportApp ...
[scoverage] Generating scoverage reports...
...
:testing:reportScoverage (Thread[Task worker for ':' Thread 3,5,main]) completed. Took 1.531 secs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions