To use github packages registry you need to have an access token configured: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
Add repository:
repositories {
maven("https://maven.pkg.github.com/Creeperface01/*")
}Add dependency:
compileOnly("com.creeperface.nukkit.kformapi:kformapi:1.0")Add repository to your pom.xml:
<repositories>
<repository>
<id>creeperface-github</id>
<url>https://maven.pkg.github.com/Creeperface01/*</url>
</repository>
</repositories>Add dependency:
<dependency>
<groupId>com.creeperface.nukkit.kformapi</groupId>
<artifactId>kformapi</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>