diff-coverage-gradle icon indicating copy to clipboard operation
diff-coverage-gradle copied to clipboard

[feat(jdk)]: support jdk 21

Open wyanlord opened this issue 2 years ago • 4 comments

Synchronize the update to JDK21 for jacoco 0.8.11

wyanlord avatar Nov 04 '23 17:11 wyanlord

hi, could this be merged?

Lauri-Nomme avatar Feb 02 '25 01:02 Lauri-Nomme

@Lauri-Nomme seems the project is not maintained any more. You can switch to analogue https://github.com/gw-kit/delta-coverage-plugin

SurpSG avatar Feb 02 '25 20:02 SurpSG

thx, i ended up forking the project to https://github.com/unapplicable/diff-coverage-gradle

the delta-coverage-plugin seems to create a huge load of unnecessary tasks (for "views"), when i just need to create a single one, and this behavior cannot be disabled as it seems.

Lauri-Nomme avatar Feb 02 '25 20:02 Lauri-Nomme

@Lauri-Nomme Delta-Coverage plugin has a lot of handy features. For example, console report that extremely useful for local runs. See changelog to observe all differences between the plugins.

View - is a great feature, especially if u have multiple source sets, for example:

  • test - for unit test
  • integrationTest - for integration tests
  • etc

If you have a single source set then you won't observe any significant performance degradation. And I bet you won't see any performance difference if you have multiple source sets.

Also, If you use GitHub Actions then you can render the coverage results. See example.


If you still don't want using views then you can apply delta-coverage v2.5.0 without the feature

SurpSG avatar Feb 04 '25 18:02 SurpSG