fix: добавляем Windows classifier для JavaFX и исключаем Linux jar из shade
- добавили <classifier>win</classifier> в javafx-controls и javafx-web - добавили фильтр в shade plugin для исключения *-linux.jar
This commit is contained in:
@@ -74,11 +74,13 @@
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-controls</artifactId>
|
||||
<version>21.0.2</version>
|
||||
<classifier>win</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-web</artifactId>
|
||||
<version>21.0.2</version>
|
||||
<classifier>win</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
@@ -130,6 +132,13 @@
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
<!-- Исключаем Linux версии JavaFX -->
|
||||
<filter>
|
||||
<artifact>org.openjfx:javafx-*</artifact>
|
||||
<excludes>
|
||||
<exclude>**/*-linux.jar</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
|
||||
Reference in New Issue
Block a user