Installation¶
Requirements¶
| Requirement | Version |
|---|---|
| Gradle | 7.6.4+ |
| JVM | 17+ |
| Requirement | Version |
|---|---|
| JVM | 17+ |
Compatibility Matrix¶
| Delta Coverage | Gradle | Min JVM |
|---|---|---|
| 3.x | 7.6.4+ | 17 |
| 2.5.x | 6.7.1 - 8.10.2 | 11 |
| 2.0 - 2.4 | 5.6 - 8.9.x | 11 |
| 1.3.x | 5.1 - 8.4.x | 11 |
Install¶
Add Delta Coverage to your root project's build file:
Add Delta Coverage to your root project's build file:
Download the CLI JAR from Maven Central or GitHub Releases:
Root project only
The Gradle plugin must be applied to the root project, not subprojects. It automatically discovers all subprojects with test tasks.
Verify Installation¶
Run the following command to verify the plugin is installed:
You should see deltaCoverage in the task list:
Run the following command to verify the plugin is installed:
You should see deltaCoverage in the task list:
What Gets Installed¶
When you apply the Gradle plugin:
- JaCoCo plugin is auto-applied to all projects (configurable)
- Delta coverage tasks are registered for each test task
- Report views are auto-created for
test,integrationTest, etc.
CLI Tool
The CLI is a standalone JAR with no installation side effects. It reads coverage binary files, class files, and a diff file to produce reports. See the CLI Reference for full details.
Next Steps¶
- Quick Start - Run your first delta coverage report
- Configure diff source - Set up git comparison