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: README.md
+27
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,33 @@ In turn this can be used by [Diffblue Cover](https://diffblue.com/cover) to tune
15
15
Cover Annotations is published in the [Maven central repository](https://central.sonatype.com/artifact/com.diffblue.cover/cover-annotations/overview).
16
16
In order to use the annotations simply add `cover-annotations` as a dependency to your project, for example copying the snippet for Maven or Gradle from the repository page.
17
17
18
+
### Maven
19
+
20
+
For installation into a Maven project the `provided` scope is recommended so that the annotations are available at compile and test time, but are not bundled with the project output:
21
+
22
+
```
23
+
<dependencies>
24
+
<dependency>
25
+
<groupId>com.diffblue.cover</groupId>
26
+
<artifactId>cover-annotations</artifactId>
27
+
<version>1.3.0</version>
28
+
<scope>provided</scope>
29
+
</dependency>
30
+
</dependencies>
31
+
```
32
+
33
+
### Gradle
34
+
35
+
For installation into a Gradle project the `compileOnly` and `testImplementation` configurations are recommended so that the annotations are available at compile and test time, but are not bundled with the project output:
0 commit comments