Skip to content
Permalink
Browse files

Made JavaFX back running

  • Loading branch information...
Nils Bokermann Nils Bokermann
Nils Bokermann authored and Nils Bokermann committed Jun 19, 2019
1 parent 85510a4 commit 6449783883d10fac089e3b239eafac6ab9ba99b9
Showing with 20 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +16 −0 build.gradle
@@ -27,3 +27,7 @@ target/
# IDE specific
.idea
*.iml

# gradle
build/
.gradle/
@@ -6,12 +6,17 @@ buildscript {

repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.openjfx:javafx-plugin:0.0.7"
}
}

apply plugin: 'org.openjfx.javafxplugin'
apply plugin: 'kotlin'
apply plugin: 'groovy'

@@ -20,6 +25,17 @@ repositories {
jcenter()
}


javafx {
// will pull in transitive modules
modules("javafx.controls", "javafx.fxml") // replace with what you modules need

// another option is to use:
// modules = listOf("javafx.controls", "javafx.fxml")

version = "12.0.1" // or whatever version you're using
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'no.tornado:tornadofx:1.7.14'

0 comments on commit 6449783

Please sign in to comment.
You can’t perform that action at this time.