-
Notifications
You must be signed in to change notification settings - Fork 1
Maven Import
Dalton edited this page Nov 10, 2021
·
18 revisions
I use Maven for importing my project, if you have a gradle version for importing make a commit to this file and I will add a gradle sections
Firstly you need the JitPack repository added to your project:
<repositories>
<!-- JitPack for GitHub projects -->
<repository>
<id>jitpack.io</id>
<!-- This has "www" because: https://stackoverflow.com/questions/54928706/error-in-library-built-with-jitpack-unable-to-resolve-dependency-for-appdebu -->
<url>https://www.jitpack.io</url>
</repository>
</repositories>
And then you need to add the dependency to your project
NOTE: The version listed in this example, is the CORRECT version to use!
<dependencies>
<!-- My own plugin API -->
<dependency>
<groupId>com.github.Burchard36</groupId>
<artifactId>BurchAPI</artifactId>
<version>1.2.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
Page written by: Dalton Burchard
- Your main class and you
- Editing API Settings (Optional)
- Creating an PluginInventory
- Creating Clickable items
- (Not added yet) Examples