Home > Mobile >  How to include provided dependencies with Kotlin configuration UI in IntelliJ IDEA?
How to include provided dependencies with Kotlin configuration UI in IntelliJ IDEA?

Time:11-18

Same question than : How to include provided dependencies with the new Application Run configuration UI in IntelliJ IDEA? but for Kotlin configurations : is it possible to add provided dependencies to a Kotlin configuration ? I usually can work things out with running Kotlin code from a Java run config, but it's quite cumbersome.

CodePudding user response:

Kotlin run configurations do not support it at the moment.

As a workaround you can use Application run configuration and specify the Kotlin main class that will have Kt suffix.

  • Related