https://kotlinlang.org logo
#detekt
Title
f

Francesco Bonnì

10/11/2022, 9:39 AM
Hi everyone, my actual company has some custom plugin that integrate detekt in our Android projects, I successfully run detekt but now I’m trying to add the formatting, the plugins necessary are inside the custom plugin but when i try to run detekt I receive this message: “Provider io.gitlab.arturbosch.detekt.formatting.FormattingProvider could not be instantiated” Any hint to solve the problem?
g

gammax

10/13/2022, 4:38 PM
Can you re-run with
--stacktrace
as you should see what’s going on
f

Francesco Bonnì

10/14/2022, 3:14 PM
Hi Nicola, This morning I had the chance to work again on the problem and I found a wrong version of detekt-formatting inside the gradle. I fixed it and now is working correctly
g

gammax

10/14/2022, 3:21 PM
Awesome
f

Francesco Bonnì

10/14/2022, 3:22 PM
Awesome is Detekt ❤️ and thank you for the support
14 Views