Gradle
The installation guide for Gradle.
Create a new project within your IDE and navigate over to the build.gradle.kts file. In your build.gradle, you should see a repositories { tag, if you don't see it, then go ahead and add it like this:
repositories {
mavenCentral()
}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 Gradle will not find the dependency.
The final piece should look like this:
repositories {
mavenCentral()
maven("https://repo.kazury.me/snapshots")
}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 {
}Once added, you will also want to add the dependency.
dependencies {
compileOnly("me.kazury", "EnkaNetworkAPI", "6.0-SNAPSHOT")
}Gradle does not automatically refresh dependencies, in order to see the classes from the dependency, you need to refresh gradle once and let it download.
Last updated
Was this helpful?