Setting Up

To use TornadoFX, there are several options to set up the dependency for your project. Mainstream build automation tools like Gradle and Maven are supported and should have no issues in getting set up.

Please note that TornadoFX is a Kotlin library, and therefore your project needs to be configured to use Kotlin. For Gradle and Maven configurations, please refer to the Kotlin Gradle Setup and Kotlin Maven Setup guides. Make sure your development environment or IDE is equipped to work with Kotlin and has the proper plugins and compilers.

This guide will use Intellij IDEA to walk through certain examples. IDEA is the IDE of choice to work with Kotlin, although Eclipse has a plugin as well.


For Gradle, you can set up the dependency directly from Maven Central. Provide the desired version number for the x.y.z placeholder.

repositories {

// Minimum jvmTarget of 1.8 needed since Kotlin 1.1
compileKotlin {
    kotlinOptions.jvmTarget= 1.8

dependencies {
    compile 'no.tornado:tornadofx:x.y.z'


To import TornadoFX with Maven, add the following dependency to your POM file. Provide the desired version number for the x.y.z placeholder.

Goes into kotlin-maven-plugin block:


Then this goes into dependencies block:


Other Build Automation Solutions

For instructions on how to use TornadoFX with other build automation solutions, please refer to the TornadoFX page at the Central Repository

Manual Import

To manually download and import the JAR file, go to the TornadoFX release page or the Central Repository. Download the JAR file and configure it into your project.

results matching ""

    No results matching ""