We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1077cf0 commit 17486c0Copy full SHA for 17486c0
1 file changed
richtextfx/build.gradle
@@ -6,7 +6,7 @@ buildscript {
6
7
plugins {
8
id 'java-library'
9
- id 'org.openjfx.javafxplugin' version '0.0.10'
+ id 'org.openjfx.javafxplugin' version '0.0.13'
10
id 'org.unbroken-dome.test-sets' version '4.0.0'
11
id 'biz.aQute.bnd.builder' version "5.3.0"
12
id 'maven-publish'
@@ -16,6 +16,11 @@ plugins {
16
javafx {
17
version = '11'
18
modules = [ 'javafx.controls', 'javafx.fxml']
19
+ def taskNames = gradle.getStartParameter().getTaskNames()
20
+ // Prevent pom & module.json from containing JavaFX runtime dependencies
21
+ if ( taskNames.stream().anyMatch( t -> t.startsWith('pub') ) ) {
22
+ configuration = 'compileOnly'
23
+ }
24
}
25
26
// OSGi bundle is configured through the bnd.bnd file
0 commit comments