fix: добавляем Windows classifier для JavaFX и исключаем Linux jar из shade

- добавили <classifier>win</classifier> в javafx-controls и javafx-web
- добавили фильтр в shade plugin для исключения *-linux.jar
This commit is contained in:
SashegDev
2026-05-05 09:42:49 +00:00
parent 6fa97b7fda
commit 991252130d
+9
View File
@@ -74,11 +74,13 @@
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId> <artifactId>javafx-controls</artifactId>
<version>21.0.2</version> <version>21.0.2</version>
<classifier>win</classifier>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId> <artifactId>javafx-web</artifactId>
<version>21.0.2</version> <version>21.0.2</version>
<classifier>win</classifier>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
@@ -130,6 +132,13 @@
<exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.RSA</exclude>
</excludes> </excludes>
</filter> </filter>
<!-- Исключаем Linux версии JavaFX -->
<filter>
<artifact>org.openjfx:javafx-*</artifact>
<excludes>
<exclude>**/*-linux.jar</exclude>
</excludes>
</filter>
</filters> </filters>
<dependencySet> <dependencySet>
<outputDirectory>/</outputDirectory> <outputDirectory>/</outputDirectory>