Created
April 30, 2020 01:14
-
-
Save viniciusccarvalho/5528a90799f7e6f5c1dbc71d8fb71e70 to your computer and use it in GitHub Desktop.
TornadoFX sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
id 'application' | |
id 'org.jetbrains.kotlin.jvm' version '1.3.61' | |
id 'org.openjfx.javafxplugin' version '0.0.8' | |
} | |
group 'io.igx.emu' | |
version '1.0-SNAPSHOT' | |
application { | |
mainClassName = "io.igx.emu.LibraryMain" | |
} | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } | |
} | |
javafx { | |
version = "13.0.2" | |
modules = ['javafx.controls', 'javafx.graphics', 'javafx.fxml', 'javafx.web', 'javafx.swing'] | |
} | |
dependencies { | |
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" | |
implementation 'no.tornado:tornadofx:2.0.0-SNAPSHOT' | |
testCompile group: 'junit', name: 'junit', version: '4.12' | |
} | |
compileKotlin { | |
kotlinOptions.jvmTarget = "11" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "11" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment