Permalink
Browse files

Update build files with compileOnly or compile JavaFX dependencies to…

… avoid publishing classifiers
  • Loading branch information...
jose.pereda
jose.pereda committed Oct 14, 2018
1 parent f244af4 commit 454cd062116cb91b787346bc4609c98f80317b24
Showing with 24 additions and 5 deletions.
  1. +13 −0 FXyz-Core/build.gradle
  2. +6 −0 FXyz-Samples/build.gradle
  3. +5 −5 build.gradle
@@ -1,3 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
plugins {
//id 'com.github.hierynomus.license' version '0.13.1'
id 'maven-publish'
@@ -8,6 +17,10 @@ plugins {
apply from: 'gradle/publishing.gradle'
repositories {
jcenter()
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
@@ -33,6 +33,12 @@ ext.mainClass = mainClassName
applicationDefaultJvmArgs = ["-XX:+UseConcMarkSweepGC"]
dependencies {
compile "org.openjfx:javafx-base:11:$platform"
compile "org.openjfx:javafx-controls:11:$platform"
compile "org.openjfx:javafx-graphics:11:$platform"
compile "org.openjfx:javafx-fxml:11:$platform"
compile "org.openjfx:javafx-swing:11:$platform"
compile "org.openjfx:javafx-graphics:11:win"
compile "org.openjfx:javafx-graphics:11:linux"
compile "org.openjfx:javafx-graphics:11:mac"
@@ -41,11 +41,11 @@ subprojects {
}
dependencies {
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-swing:11:$platform"
compileOnly "org.openjfx:javafx-base:11:$platform"
compileOnly "org.openjfx:javafx-graphics:11:$platform"
compileOnly "org.openjfx:javafx-controls:11:$platform"
compileOnly "org.openjfx:javafx-fxml:11:$platform"
compileOnly "org.openjfx:javafx-swing:11:$platform"
compile 'eu.mihosoft.vrl.jcsg:jcsg:0.5.7'
compile 'org.orbisgis:poly2tri-core:0.1.2'

0 comments on commit 454cd06

Please sign in to comment.