Upgrade jacoco to JDK11 supported version

This commit is contained in:
josecoll 2019-05-01 10:06:41 +01:00
parent a56ef580b2
commit 8c921cfe71

View File

@ -231,6 +231,11 @@ allprojects {
sourceCompatibility = VERSION_1_8 sourceCompatibility = VERSION_1_8
targetCompatibility = VERSION_1_8 targetCompatibility = VERSION_1_8
jacoco {
// JDK11 official support (https://github.com/jacoco/jacoco/releases/tag/v0.8.3)
toolVersion = "0.8.3"
}
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-Xlint:-options" << "-parameters" options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-Xlint:-options" << "-parameters"
options.encoding = 'UTF-8' options.encoding = 'UTF-8'