Skip to content

Commit

Permalink
chore: improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko-felice authored and DanySK committed Jun 28, 2023
1 parent d376bec commit 453c85d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ dependencies {
}

/*
Following lines from 59-66 are needed as a workaround because of an official Gradle issue,
linked to https://github.com/gradle/gradle/issues/16603.
The issue is related to Gradle Daemon that is closed automatically by the Testkit official library,
but jacoco agent does not wait for it.
*/
* The following lines are a workaround for
* https://github.com/gradle/gradle/issues/16603.
* The issue is related to the Gradle Daemon getting terminated by the Gradle Testkit,
* and the JaCoCo agent not waiting for it.
*/
inline fun <reified T : Task> Project.disableTrackState() {
tasks.withType<T>().configureEach {
doNotTrackState("Otherwise JaCoCo does not work correctly")
Expand Down

0 comments on commit 453c85d

Please sign in to comment.