Project dependency - SoKnight/PEconomy GitHub Wiki
You need to add plugin dependency into your project to use plugin's API for you purposes.
You can use any way to got that: maven or gradle dependencies or built-in tools in your IDE.
All this methods are described below.
- Add the jitpack.io repository in the
pom.xml
in your maven project:
<repositories>
<!-- ... Your other repositories ... -->
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
- After that just add this dependency and replace the
TAG
to actual version (see the badge in introduction):
<dependencies>
<!-- PEconomy -->
<dependency>
<groupId>me.soknight</groupId>
<artifactId>peconomy</artifactId>
<version>TAG</version>
<scope>provided</scope>
</dependency>
</dependencies>
- Done. Now you can learn the API documentation here.
- Add the jitpack.io repository in the
build.gradle
in your gradle project:
repositories {
maven { url 'https://jitpack.io' }
}
- After that just add this dependency and replace the
TAG
to actual version (see the badge in introduction):
dependencies {
implementation 'me.soknight:peconomy:TAG'
}
- Done. Now you can learn the API documentation here.
- Download the plugin JAR from the release page.
- You also can download the second JAR marked with
-sources
suffix.
It's a source code of this plugin and it also contains a small Javadoc. - Import downloaded JARs into your project using your IDE tools for dependency management.
- Done. Now you can learn the API documentation here.