Skip to content

πŸ“¦ 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: