Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
gtebrean committed Aug 21, 2023
1 parent d247eeb commit 67b88c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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") }

0 comments on commit 67b88c2

Please sign in to comment.