Maven
The installation guide for Maven.
Create a new project within your IDE and navigate over to the pom.xml file. In your pom, you should see a <repositories> tag, if you don't see it, then go ahead and add it like this:
<repositories>
</repositories>Now, once you have added this (or have it already), you want to go ahead and add the snapshot repository, this is needed because otherwise Maven will not find the dependency.
The final piece should look like this:
<repositories>
<repository>
<id>kazury-snapshots</id>
<url>https://repo.kazury.me/snapshots</url>
</repository>
<!--Additional repositories you may need -->
</repositories>Now, once the repository has been added, we also want to go ahead and add the dependency. For this you will once again, need a <dependencies> tab.
<dependencies>
</dependencies>Once added, you will also want to add the dependency.
<dependencies>
<dependency>
<groupId>me.kazury</groupId>
<artifactId>EnkaNetworkAPI</artifactId>
<version>6.0-SNAPSHOT</version>
</dependency>
<!--Additional dependencies you may need -->
</dependencies>Maven does not automatically refresh dependencies, in order to see the classes from the dependency, you need to refresh maven once and let it download.
Last updated
Was this helpful?