detekt(DetektExtension.() -> Unit): Unit' is deprecated. Either apply detekt plugin to root project
why?
gradle version: 6.5
detekt version: 1.10.
g
gammax
07/19/2020, 4:43 PM
Hard to say if you don’t share your project setup 🤔
Anyway, as the error message suggests, you need to either apply the detekt plugin only in the root project or use the
apply false
mechanism to apply the plugin to all the subprojects, as described here