https://github.com/codecov/example-gradle-multiproject
https://github.com/codecov/example-gradle-multiproject
codecov gradle jacoco java
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codecov/example-gradle-multiproject
- Owner: codecov
- License: mit
- Created: 2020-07-13T19:23:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T17:17:34.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T15:10:25.010Z (9 months ago)
- Topics: codecov, gradle, jacoco, java
- Language: Java
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 9
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Codecov][1] Gradle Example
1. Set-up your `build.gradle` for collecting coverage in multiproject gradle projects and compiling their coverage with jacoco. [See here](https://github.com/codecov/example-gradle-multiproject/blob/master/build.gradle#L57)
2. Execute your tests as normal
3. Call `gradle codeCoverageReport` to generate report. [See here](https://github.com/codecov/example-gradle-multiproject/blob/master/.travis.yml#L13)
4. Call `bash <(curl -s https://codecov.io/bash)` to upload reports to Codecov. [See here](https://github.com/codecov/example-gradle-multiproject/blob/master/.travis.yml#L16)
- Public project? Using TravisCI, CircleCI or AppVeyor? You're all set! No upload token required.
- Otherwise please include your repository upload token. [See here](http://docs.codecov.io/v4.3.0/docs/about-the-codecov-bash-uploader#section-upload-token)
[1]: https://codecov.io/