Since Gradle 5.0 JaCoCo plugin works with the build cache and parallel
test execution, so this change allows to enable build cache for "test"
tasks in Cirrus CI.
}
}
+ normalization {
+ runtimeClasspath {
+ // Following classpath resources contain volatile data that changes in each CI build (build number, commit id, time),
+ // so we exclude them from calculation of build cache key of test tasks:
+ ignore 'META-INF/MANIFEST.MF'
+ ignore 'sonar-api-version.txt'
+ ignore 'sq-version.txt'
+ }
+ }
test {
jvmArgs '-Dfile.encoding=UTF8'
maxHeapSize = '1G'