Is there any way to stop detekt and IDEA from complaining about unused variables when I use delegate...
s
Is there any way to stop detekt and IDEA from complaining about unused variables when I use delegates to declare top-level tasks?
t
try to add
@Suppress("unused")
s
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.