You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,17 @@
1
1
# Change Log
2
2
3
-
Version 0.5.0 *(In development)*
4
-
--------------------------------
3
+
Version 0.5.0 *(2016-07-17)*
4
+
----------------------------
5
+
6
+
- Add excludes to JunitJacoco extension [\#37](https://github.com/vanniktech/gradle-android-junit-jacoco-plugin/pull/37) ([vanniktech](https://github.com/vanniktech))
7
+
- Clean up tests [\#36](https://github.com/vanniktech/gradle-android-junit-jacoco-plugin/pull/36) ([vanniktech](https://github.com/vanniktech))
8
+
- Restore flavor iterations [\#34](https://github.com/vanniktech/gradle-android-junit-jacoco-plugin/pull/34) ([outlying](https://github.com/outlying)) - many thanks to him
9
+
- Update to Gradle 2.14 [\#33](https://github.com/vanniktech/gradle-android-junit-jacoco-plugin/pull/33) ([vanniktech](https://github.com/vanniktech))
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,17 @@ Gradle plugin that generates Jacoco reports from a Gradle Project. Android Appli
9
9
10
10
### Android project
11
11
12
-
- Task `jacocoTestReport<BuildType>`
13
-
- Executes the `test<BuildType>` task before
12
+
- Task `jacocoTestReport<Flavor><BuildType>`
13
+
- Executes the `test<Flavor><BuildType>UnitTest` task before
14
14
- Gets executed when the `check` task is executed
15
-
- Generated Jacoco reports can be found under `build/reports/jacoco/<BuildType>`.
15
+
- Generated Jacoco reports can be found under `build/reports/jacoco/<Flavor>/<BuildType>`.
16
16
17
-
Where `<BuildType>` usually is `debug` and `release` unless additional build types where specified. For instance when having `debug` and `release` build types the following tasks would be created: `jacocoTestReportDebug`, `jacocoTestReportRelease`.
17
+
Where `<BuildType>` is usually `debug` & `release` unless additional build types where specified.
18
+
`<Flavor>` is optional and will be ignored if not specified.
19
+
20
+
For instance when having `debug` & `release` build types and no flavors the following tasks would be created: `jacocoTestReportDebug` and `jacocoTestReportRelease`.
21
+
22
+
When having `debug` & `release` build types and `red` & `blue` flavors the following tasks would be created: `jacocoTestReportRedDebug`, `jacocoTestReportBlueDebug`, `jacocoTestReportRedRelease` and `jacocoTestReportBlueRelease`.
Those are all available configurations - shown with default values and their types. More information can be found in the [Java Documentation of the Extension](src/main/groovy/com/vanniktech/android/junit/jacoco/JunitJacocoExtension.groovy).
58
63
59
64
```groovy
60
65
junitJacoco {
61
66
jacocoVersion = '0.7.2.201409121644' // type String
0 commit comments