Skip to content

Commit aeeeceb

Browse files
committed
docs: Jacoco 0.8.2 was released with Kotlin support
This change updates the README to advise users to use Jacoco 0.8.2+ instead, which natively supports filtering out Kotlin generated methods.
1 parent 3c14189 commit aeeeceb

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@ A Kotlin compiler plugin that annotates Kotlin-generated methods with `lombok.Ge
33
that these methods have been generated by the compiler.
44

55
## JaCoCo solution (new)
6-
Please note that JaCoCo recently landed support for recognizing Kotlin-generated
7-
code, so we suggest using one of their snapshots builds (0.8.2-SNAPSHOT+) instead if possible.
8-
It has the advantage of not polluting your code with `lombok.Generated` annotations.
6+
Please note that JaCoCo landed support for recognizing Kotlin-generated
7+
code in 0.8.2, so we advise using that instead if possible.
8+
It has the advantage of not polluting your code with `lombok.Generated`
9+
annotations.
910

1011
In Gradle, you can do that as follows:
1112

1213
```groovy
13-
repositories {
14-
// This repository is needed to get the latest snapshot of JaCoCo
15-
maven { url = "https://oss.sonatype.org/content/repositories/snapshots" }
16-
}
17-
1814
jacoco {
19-
toolVersion = '0.8.2-SNAPSHOT'
15+
toolVersion = '0.8.2'
2016
}
2117
```
2218

0 commit comments

Comments
 (0)