瀏覽代碼

feat:加入JavaFX的FXML的依赖

yang yi 2 月之前
父節點
當前提交
6e90e626f8
共有 2 個文件被更改,包括 9 次插入0 次删除
  1. 4 0
      chat-gwng/chat-commom/pom.xml
  2. 5 0
      chat-gwng/pom.xml

+ 4 - 0
chat-gwng/chat-commom/pom.xml

@@ -16,6 +16,10 @@
         <maven.compiler.target>17</maven.compiler.target>
     </properties>
     <dependencies>
+        <dependency>
+            <groupId>org.openjfx</groupId>
+            <artifactId>javafx-fxml</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.openjfx</groupId>
             <artifactId>javafx-controls</artifactId>

+ 5 - 0
chat-gwng/pom.xml

@@ -25,6 +25,11 @@
     </properties>
     <dependencyManagement>
         <dependencies>
+            <dependency>
+                <groupId>org.openjfx</groupId>
+                <artifactId>javafx-fxml</artifactId>
+                <version>${javafx.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.openjfx</groupId>
                 <artifactId>javafx-controls</artifactId>