Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.02 KB

gradle-codecov-plugin

Current Version

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>"
}

Usage

CodecovExtension is registered under the name codecov, and has the following properties:

version

The version of codecov-exe to use. A default version is provided.

token

The upload token. Pulled from the environment variable CODECOV_TOKEN by default.

reportTask

Must be provided. Points to the JacocoReport task who's XML report should be used.

You must enable the XML report manually.