Added jacoco as a plugin in build.gradle. Then added jacocoTestReport to build.gradle aswell so jacoco could output a code coverage report in a html file in the build folder