Add Linux and Windows JavaFX Dependencies

This commit is contained in:
Kai S. K. Engelbart 2020-07-05 16:19:51 +02:00
parent 097f8feb12
commit c463f6946a

15
pom.xml
View File

@ -40,6 +40,18 @@
<artifactId>javafx-fxml</artifactId> <artifactId>javafx-fxml</artifactId>
<version>11.0.2</version> <version>11.0.2</version>
</dependency> </dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics </artifactId>
<version>11</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics </artifactId>
<version>11</version>
<classifier>linux</classifier>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -73,7 +85,8 @@
<shadedArtifactAttached>true</shadedArtifactAttached> <shadedArtifactAttached>true</shadedArtifactAttached>
<sharedClassifierName>envoy</sharedClassifierName> <sharedClassifierName>envoy</sharedClassifierName>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>envoy.client.Main</mainClass> <mainClass>envoy.client.Main</mainClass>
</transformer> </transformer>
</transformers> </transformers>