π¦ Adding RedeemX API Dependency
To use the RedeemCodeX API in your plugin, include the following dependency in your project setup.
π§± Repositories
Add JitPack and Maven Central to your repositories configuration:
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
π Dependency
Add the API dependency to your project.
Warning
Replace VERSION
with the actual version or tag (e.g., 1.0.0
) on GitHub.
dependencies {
compileOnly("com.github.ItzYashvardhan:RedeemCodeX-API:VERSION")
}
<dependencies>
<dependency>
<groupId>com.github.ItzYashvardhan</groupId>
<artifactId>RedeemCodeX-API</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>
β Verifying JitPack
Make sure your project syncs successfully. If you see issues:
- Double-check that the
VERSION
exists on GitHub. - Check for typos in the group ID or artifact name.
- Confirm youβre using the correct build tool syntax.
π Keeping Up to Date
To stay on the latest version:
- Watch the RedeemCodeX GitHub repository
- Update your dependency when new tags are published