How to set '-Xuse-experimental=kotlin.experimental' in IntelliJ : <p>while trying to build a Kotlin/Ktor application in IntelliJ, multiple warnings of the form</p>

<pre><code>Warning:(276, 6) Kotlin: This class can only be used with the compiler argument '-Xuse-experimental=kotlin.Experimental'
</code></pre>

<p>are output.  The warnings refer to</p>

<pre><code>@UseExperimental(KtorExperimentalLocationsAPI::class)
</code></pre>

<p>so I expected to satisfy the warning by setting <em>Settings -> Build -> Compiler -> Kotlin Compiler -> Additional command line parameters</em> to <strong>-version -Xuse-experimental=kotlin.Experimental</strong>.  (<strong>-version</strong> was already there).  But the warning is still generated.  How do I satisfy it?  Thanks in expectation.</p>
