Skip to content

Developer API Implementing

Zak Shearman edited this page Jan 3, 2021 · 2 revisions

Implementing the developer API

The API must be implemented through a local JAR file at the moment. There is no external repository. Here are two ways of doing so:

Implementing using Gradle:

dependencies {
    compileOnly files('path/to/file.jar')
}

Implementing using Maven:

<dependencies>
    <dependency>
        <groupId>io.github.battlepass</groupId>
        <artifactId>battlepass</artifactId>
        <version>LATEST</version>
        <systemPath>${project.basedir}/path/to/file.jar</systemPath>
        <scope>system</scope>
    </dependency>
</dependencies>

You may also want to read: