From 67b88c228051f339a3903644d13947f2aceac1c3 Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Mon, 21 Aug 2023 09:44:27 +0300 Subject: [PATCH] Update build.gradle --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index ec231a0a8..c821548a5 100644 --- a/build.gradle +++ b/build.gradle @@ -98,5 +98,13 @@ configure(subprojects.findAll { it.name != 'integration-tests' }) { apply from: "$rootDir/gradle/jacoco/build.gradle" } +test { + // Enable JaCoCo agent for test coverage + jacoco { + // Set the destination file for the coverage report + destinationFile = file("$buildDir/jacoco/test.exec") + } +} + tasks.named("spotlessJava").configure { dependsOn("spotlessGroovyGradle") } tasks.named("spotlessKotlin").configure { dependsOn("spotlessJava", "spotlessGroovyGradle") }