Maven

    在项目的pom.xml的dependencies中加入以下内容:

    1. <dependency>
    2. <groupId>com.gettyio</groupId>
    3. <artifactId>getty-core</artifactId>
    4. <version>1.2.0</version>
    5. </dependency>

    Gradle

    1. compile group: 'com.gettyio', name: 'getty-core', version: '1.2.0'

    非Maven项目

    可直接到中央仓库下载jar包导入到工程中

    链接:https://mvnrepository.com/artifact/com.gettyio/getty-core 点击跳转到中央仓库