-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Closed
Copy link
Labels
Description
Sometime but not always we get a ConcurrentModificationException from this gradle plugin when it is in the LoadReportersWorkAction.
We have several kotlin modules (mixed with java modules) and the ktLint check runs there in parallel. We run the task ktlintCheck.
Each module configures ktLint with the CHECKSTYLE reporter like this:
ktlint {
reporters {
reporter(ReporterType.CHECKSTYLE)
}
}
We are using v10.1.0.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':loadKtlintReporters'.
A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.LoadReportersWorkAction
Could not serialize unit of work.
java.util.ConcurrentModificationException (no error message)
is this a plugin problem or should we configure the reporters in a different manner?