Marek Kubiczek
09/01/2021, 3:54 PMA problem occurred evaluating script.
> Failed to apply plugin 'io.gitlab.arturbosch.detekt'.
> Cannot run Project.afterEvaluate(Action) when the project is already evaluated.
The thing is I have multiple modules and I am applying detekt to all of them just by
allprojects {
apply from: "$rootDir/detekt.gradle"
}
in the root project.
This was working so far. Is there a remedy for that or it needs to be fixed in Detekt gradle plugin?gammax
09/01/2021, 4:21 PMdetekt.gradle
).
Those files don’t really work well imho.
Please take a look at my comment here: https://github.com/detekt/detekt/issues/3490#issuecomment-895543558
I would advice you switch to using a precompiled script plugin or so.Marek Kubiczek
09/01/2021, 4:58 PMgammax
09/01/2021, 5:13 PM