Using JaCoCo 0.7.10 snapshot with JaCoCo gradle plugin

plugins

(Yash Arya) #1

Hi all,

I need to use JaCoCo’s 0.7.10 snapshot (not yet released) with the JaCoCo gradle plugin in order to use the functionality related to excluding lombok generated code from code coverage. It can be found here: http://www.jacoco.org/jacoco/ in “Download (Maven Repository)”.

What would be the best way to go about doing this?

I’m new to both gradle and Jacoco (and actually even Lombok) so appreciate your help/patience with the topic! :slight_smile:

Thanks!


(Benjamin Muschko) #2

I believe you should be able to set the version via toolVersion. For more information please see the documentation. Please make sure to also declare the repository you are pull it from via Project.repositories(Closure).