Skip to content

Setup Tutorial (Configuration)

DanTheTechMan edited this page Jan 8, 2022 · 1 revision

Setup

Note

This API can be used, but is unstable and likely to change.

Download

The API can be downloaded here.

Adding the JAR to a Maven project in IntelliJ

  1. Copy the JAR into a folder in your project. (be sure to add this to your git repository if you have one)
  2. Add this to your pom.xml in the dependencies section:
    <dependency>
        <groupId>preponderous</groupId>
        <artifactId>ponder</artifactId>
        <version>(version)</version>
        <scope>compile</scope>
    </dependency>
  1. Run this command to install the JAR to your repository:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=preponderous -DartifactId=ponder -Dversion=<version> -Dpackaging=Jar

Be sure to replace each placeholder inside <> with the correct value.

  1. Add the JAR as a module in File --> Project Structure --> Modules.

Integrator Class

When using this API, I have preferred to use an integrator class to check if the API is available and to get the API itself. Such an integrator is included with the API.

Next Tutorial

Check out the next tutorial here.

Clone this wiki locally