Implementing 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:
1
dependencies {
2
compileOnly files('path/to/file.jar')
3
}
Copied!
Implementing using Maven:
1
<dependencies>
2
<dependency>
3
<groupId>io.github.battlepass</groupId>
4
<artifactId>battlepass</artifactId>
5
<version>LATEST</version>
6
<systemPath>${project.basedir}/path/to/file.jar</systemPath>
7
<scope>system</scope>
8
</dependency>
9
</dependencies>
Copied!
You may also want to read:
Copy link