Skip to content

Commit

Permalink
added javafx-dependencies for all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Supernaibaf committed Nov 16, 2018
1 parent 603ce9b commit 83ce153
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions ui-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.gradle:osdetector-gradle-plugin:1.6.0'
}
}

apply plugin: 'application'
apply plugin: 'com.google.osdetector'

ext.platform = osdetector.os == 'osx' ? 'mac' : osdetector.os == 'windows' ? 'win' : osdetector.os

dependencies {
compile 'de.jensd:fontawesomefx-fontawesome:4+'
Expand All @@ -19,10 +13,20 @@ dependencies {
compile 'de.jensd:shichimifx:1.0.5'

// https://mvnrepository.com/artifact/org.openjfx/javafx-controls
compile "org.openjfx:javafx-base:11:$platform"
compile "org.openjfx:javafx-graphics:11:$platform"
compile "org.openjfx:javafx-controls:11:$platform"
compile "org.openjfx:javafx-fxml:11:$platform"
compile "org.openjfx:javafx-base:11:win"
compile "org.openjfx:javafx-graphics:11:win"
compile "org.openjfx:javafx-controls:11:win"
compile "org.openjfx:javafx-fxml:11:win"

compile "org.openjfx:javafx-base:11:linux"
compile "org.openjfx:javafx-graphics:11:linux"
compile "org.openjfx:javafx-controls:11:linux"
compile "org.openjfx:javafx-fxml:11:linux"

compile "org.openjfx:javafx-base:11:mac"
compile "org.openjfx:javafx-graphics:11:mac"
compile "org.openjfx:javafx-controls:11:mac"
compile "org.openjfx:javafx-fxml:11:mac"


// common dependencies
Expand Down

0 comments on commit 83ce153

Please sign in to comment.