APDevTeam / Movecraft

The original movement plugin for Paper. Reloaded. Again.
GNU General Public License v3.0
122 stars 74 forks source link

How do I use movecraft as a dependency? #661

Closed Nikkilectric closed 1 month ago

Nikkilectric commented 1 month ago

I've tried using both github packages & the instructions in the wiki, Whenever I try to build my plugin I get this error:

image

It's the same if I use "LATEST" as my version in my pom.xml, How do I properly add Movecraft as a dependency to my Pom.xml file?

Done by using mvn clean install -U

TylerS1066 commented 1 month ago

Movecraft-CoreProtect's pom.xml is probably the best minimal example of how to construct a Movecraft addon via Maven, but our Wiki Page goes into more detail on how to set up your development environment. You need to do 3 steps:

  1. Set up your maven settings to authenticate with GitHub packages
  2. Add our GitHub packages repository
  3. Add Movecraft as a dependency

Another thing to note, the Movecraft ecosystem is in the progress of transforming from Spigot plugins built via Maven into Paper plugins built via Gradle to take advantage of the many APIs, helpful development features, and more that Paper provides. We don't have any documentation or examples of doing this yet, but we'll be busy over the next few weeks converting the many addons.

Nikkilectric commented 1 month ago

Thanks!