Skip to content

Commit 8ca293e

Browse files
committed
Documentation for jacocoFullReport
1 parent 7c72a47 commit 8ca293e

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://travis-ci.org/vanniktech/gradle-android-junit-jacoco-plugin.svg)](https://travis-ci.org/vanniktech/gradle-android-junit-jacoco-plugin)
44
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
55

6-
Gradle plugin that generates JaCoCo reports from an Android Gradle Project. It goes over every subproject and creates the `jacocoReport` task.
6+
Gradle plugin that generates JaCoCo reports from an Android Gradle Project. It goes over every subproject and creates the `jacocoReport` task. If you want an aggregated report from all subprojects use the `jacocoFullReport` task.
77

88
Works with the latest Gradle Android Tools version 1.3.1.
99

@@ -26,7 +26,7 @@ buildscript {
2626
}
2727
```
2828

29-
## Get reports
29+
## Get reports for each subproject
3030

3131
```groovy
3232
./gradlew jacocoReport
@@ -51,6 +51,26 @@ buildscript {
5151
<subproject>/build/jacoco/testReleaseUnitTest.exec
5252
```
5353

54+
## Get aggreated report from all subprojects
55+
56+
```groovy
57+
./gradlew jacocoFullReport
58+
```
59+
60+
**XML reports**
61+
62+
```
63+
<root>/build/reports/jacoco/full/jacoco.xml
64+
```
65+
66+
**HTML reports**
67+
68+
```
69+
<root>/build/reports/jacoco/full/index.html
70+
```
71+
72+
73+
5474
# License
5575

5676
Copyright (C) 2014-2015 Vanniktech - Niklas Baudy

0 commit comments

Comments
 (0)