4

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:

enter image description here

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.

Animesh Sahu
  • 7,445
  • 2
  • 21
  • 49

1 Answers1

2

This request already exist in public tracker of Kotlin. You can subscribe to be notified if the status of a task will change.