Suppress warning in IntelliJ Kotlin Gradle
I wrote this simple line:
ScriptEngineManager().getEngineByName("nashorn")
and it gives warning in the console in red line:
Warning: Nashorn engine is planned to be removed from a future JDK release
I don't want to re-install JDK and entire setup just because of one line.
I just want that warning line to not appear.
Is there a way to disable any warning in Intellij Kotlin?
It should be very easy and simple task, but none of @Suppress("DEPRECATION"), @Suppress("warnings"), @Suppress("all")...