Reputation: 8096
There's a way to suppress the warnings for Java codebase in IntelliJ.
But seems like there's no option to disable that for Kotlin:
I'm aware of @file:Supress("unused")
but that seems to disable whole inspection in the file while I only want to disable it for the public classes and functions, and also for the whole project instead of single file.
My main focus is on a Gradle based solution if possible, otherwise any help is greatly appreciated.
Upvotes: 4
Views: 533
Reputation: 56
This request already exist in public tracker of Kotlin. You can subscribe to be notified if the status of a task will change.
Upvotes: 2