
In the panel on the left, select New Project. In IntelliJ IDEA, select File | New | Project. Before you startĭownload and install the latest version of IntelliJ IDEA. With all of this in mind, it's best to split the project into two modules. Scripting host – an application or component that handles script compilation and execution – actually running scripts of this type. Script definition – a set of parameters and configurations that define how this script type should be recognized, handled, compiled, and executed. Project structureĪ minimal Kotlin custom scripting project contains two parts: The specified Maven dependency ( kotlinx-html-jvm for this example) will be resolved from the specified Maven repository or local cache during execution and used for the rest of the script.
