4 Star 65 Fork 13

westinyang/HapViewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 5.83 KB
一键复制 编辑 原始数据 按行查看 历史
westinyang 提交于 2024-03-21 11:15 . chore: Upgrade GraalVM to JDK 21
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ohosdev</groupId>
<artifactId>hapviewer</artifactId>
<version>1.1.0</version>
<name>HapViewer</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<javafx.version>21-ea+5</javafx.version>
<javafx.staticSdk.version>21-ea+5</javafx.staticSdk.version>
<gluonfx-maven-plugin.version>1.0.22</gluonfx-maven-plugin.version>
<!--<junit.version>5.8.2</junit.version>-->
<start-class>org.ohosdev.hapviewer.App</start-class>
</properties>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${javafx.version}</version>
</dependency>
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>11.1.2</version>
</dependency>
<!--suppress VulnerableLibrariesLocal -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.16</version>
</dependency>
<!--<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0</version>
<configuration>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<configuration>
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>${gluonfx-maven-plugin.version}</version>
<configuration>
<target>host</target>
<mainClass>${start-class}</mainClass>
<!--
<javaStaticSdkVersion>11-ea+10</javaStaticSdkVersion>
-->
<javafxStaticSdkVersion>${javafx.staticSdk.version}</javafxStaticSdkVersion>
<!-- JavaFx 中使用 ResourceBundle.getBundle("xxxxxx") 的路径,如果没有则不需要配置 -->
<!--<bundlesList>
<list>com.mueeee.desktopjavafx</list>
</bundlesList>-->
<!-- 允许的资源文件后缀 -->
<resourcesList>
<list>.*\\.properties$</list>
</resourcesList>
<!-- 涉及反射的类 -->
<reflectionList>
<list>org.ohosdev.hapviewer.ctrl.Index</list>
<list>org.ohosdev.hapviewer.ctrl.About</list>
</reflectionList>
<nativeImageArgs>
<!-- “快速构建”模式,以减少在开发过程中生成本机可执行文件所需的时间。请注意,此模式可能会对峰值性能和生成的可执行文件的大小产生负面影响,因此建议仅用于开发目的。 -->
<!--<arg>-Ob</arg>-->
<arg>--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED</arg>
<!-- Native-image building on Windows currently only supports target architecture: AMD64 (?? unsupported)) -->
<arg>-H:-CheckToolchain</arg>
</nativeImageArgs>
<releaseConfiguration>
<!-- all targets -->
<!--<packageType></packageType>-->
<description>A cross-platform HAP viewer (API 9+ support)</description>
<vendor>OHOS Dev</vendor>
<version>${version}</version>
<!-- macOS -->
<macAppStore>false</macAppStore>
<macSigningUserName>OHOS Dev</macSigningUserName>
<!--<macAppCategory>public.app-category.utilities</macAppCategory>-->
</releaseConfiguration>
</configuration>
<executions>
<execution>
<goals>
<goal>build</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/westinyang/hap-viewer.git
git@gitee.com:westinyang/hap-viewer.git
westinyang
hap-viewer
HapViewer
master

搜索帮助

Cb406eda 1850385 E526c682 1850385