Update jacoco.gradle

Updates so that nothing fails if there is no source code in either java or groovy dirs.