Gradle plugin to download + run codecov-exe.
Available from the EngineHub Maven repository: https://maven.enginehub.org/repo/
If you add that repository to the pluginMangement
block, you can use the following
to apply the plugin:
plugins {
id("org.enginehub.codecov") version "<version>"
}
CodecovExtension
is registered under the name codecov
, and has the following properties:
The version of codecov-exe to use. A default version is provided.
The upload token. Pulled from the environment variable CODECOV_TOKEN
by default.
Must be provided. Points to the JacocoReport
task who's XML report should be used.
You must enable the XML report manually.