快速开始
安装
Kotlin / Maven
版本要求:
- JDK: 17+ 或 8+
- Maven: 3+
ospf-kotlin 已发布至 Maven 中央仓库。若使用 Maven,只需在 pom.xml 文件中添加相应依赖即可:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-jdk8</artifactId>
<version>1.0.71</version>
</dependency>一维装箱开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp1d</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp1d-jdk8</artifactId>
<version>1.0.71</version>
</dependency>二维装箱开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp2d</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp2d-jdk8</artifactId>
<version>1.0.71</version>
</dependency>三维装箱开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp3d</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-bpp3d-jdk8</artifactId>
<version>1.0.71</version>
</dependency>一维下料开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-csp1d</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-csp1d-jdk8</artifactId>
<version>1.0.71</version>
</dependency>二维下料开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-csp2d</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-csp2d-jdk8</artifactId>
<version>1.0.71</version>
</dependency>甘特图排程开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-gantt-scheduling</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-gantt-scheduling-jdk8</artifactId>
<version>1.0.71</version>
</dependency>网络流规划开发包:
xml
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-network-scheduling</artifactId>
<version>1.0.71</version>
</dependency>
<dependency>
<groupId>io.github.fuookami.ospf.kotlin</groupId>
<artifactId>ospf-kotlin-starter-network-scheduling-jdk8</artifactId>
<version>1.0.71</version>
</dependency>