Upgrade to Jacoco 0.8.7.

Jacoco 0.8.7 includes experimental support for Java 17 and is required to run on Java 17.

https://www.jacoco.org/jacoco/trunk/doc/changes.html.
This commit is contained in:
John Blum
2021-11-17 12:30:57 -08:00
parent a8a9b0f525
commit 8441c55024

View File

@@ -13,7 +13,6 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package io.spring.gradle.convention
import org.gradle.api.Plugin
@@ -29,12 +28,14 @@ class JacocoPlugin implements Plugin<Project> {
@Override
void apply(Project project) {
project.plugins.withType(JavaPlugin) {
project.getPluginManager().apply("jacoco")
project.tasks.check.dependsOn project.tasks.jacocoTestReport
project.jacoco {
toolVersion = '0.8.2'
toolVersion = '0.8.7'
}
}
}