Is there any way to stop detekt and IDEA from complaining about unused variables when I use delegates to declare top-level tasks?
t
tapchicoma
10/13/2021, 5:55 PM
try to add
@Suppress("unused")
s
Simon Meskens
10/14/2021, 2:05 AM
That's a bit of a sledgehammer to fix a hole in the roof. I think I'll switch to another syntax then. I was trying to keep everything looking consistent, but I guess that's not possible.