add OshiUtil

This commit is contained in:
Looly
2019-08-28 18:50:50 +08:00
parent f4a5b8b9b7
commit f8d3e3fb14
6 changed files with 145 additions and 5 deletions

View File

@@ -1,9 +1,11 @@
<?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 http://maven.apache.org/maven-v4_0_0.xsd">
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<parent>
<groupId>cn.hutool</groupId>
<artifactId>hutool-parent</artifactId>
@@ -12,13 +14,20 @@
<artifactId>hutool-system</artifactId>
<name>${project.artifactId}</name>
<description>Hutool 系统调用Runtime</description>
<description>Hutool 系统调用Runtime、系统监控封装</description>
<dependencies>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- 跨平台的系统及硬件信息库 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>3.13.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>