Dependency - PlayerNguyen/OptEcoPrime GitHub Wiki
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>
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'
}
Take a look at Javadoc and find OptEcoAPI, which class you can literally use as API class.