Dependency - PlayerNguyen/OptEcoPrime GitHub Wiki

Import plugin

Maven

Add the JitPack repository to your build file

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Add the dependency of OptEcoPrime.

<dependency>
    <groupId>com.github.PlayerNguyen</groupId>
    <artifactId>OptEcoPrime</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
    implementation 'com.github.PlayerNguyen:OptEcoPrime:1.0.0'
}

Example code

Take a look at Javadoc and find OptEcoAPI, which class you can literally use as API class.

⚠️ **GitHub.com Fallback** ⚠️