Skip to content

Commit

Permalink
Merge pull request #382 from jphavoc/master
Browse files Browse the repository at this point in the history
Fixed javafx dependencies in app/build.gradle #380
  • Loading branch information
webadict authored Aug 17, 2018
2 parents 8cbf123 + 2bd98fa commit bab2c6a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
apply plugin: 'java'
apply plugin: 'application'
apply from: 'javafx.plugin'
apply plugin: 'javafx-gradle-plugin'

buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
jcenter()
}
}

mainClassName = 'net.demilich.metastone.MetaStone'

Expand All @@ -22,9 +31,12 @@ dependencies {
testCompile group: 'org.testng', name: 'testng', version: '6.+'
}

javafx {
appName rootProject.name
mainClass = mainClassName
jfx {
// minimal requirement for jfxJar-task
mainClass = 'JavaFXDemo'

// minimal requirement for jfxNative-task
vendor = ''
}

test {
Expand Down

0 comments on commit bab2c6a

Please sign in to comment.