Updated building instructions.

master
blablubbabc 2020-09-01 00:11:35 +02:00
parent 51ad2f700b
commit b30c29e17f
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ Date format: (YYYY-MM-DD)
Internal:
* Moved the installation of Spigot dependencies into a separate script.
* Added support for building with Jitpack. This uses a Maven wrapper with a fixed version, because Jitpack uses a buggy Maven version currently (3.6.1).
* Updated building instructions in readme.
## v2.11.0 (2020-08-13)
### Supported MC versions: 1.16.2, 1.16.1, 1.15.2, 1.14.4

View File

@ -28,7 +28,8 @@ Build with Maven
This is the recommended and easy way to compile the plugin yourself and/or help to contribute to it.
Just check out the project to your machine and import it in Eclipse with **Import > Maven > Existing Maven Project**.
Then just right click the imported project and select **Run As > Maven install**.
Then make sure that you have all Spigot and CraftBukkit dependencies installed in your local Maven repository. The simplest way to do this is to run the included **./installSpigotDependencies.sh** script.
Afterwards just right click the imported project and select **Run As > Maven install**.
Build without Maven
-------------------
@ -41,6 +42,6 @@ If you really want to do it the old school way, you're free to import the projec
* modules/v1_6_R3/src/main/java
* modules/v1_7_R1/src/main/java
* ...
* Under **Java Build Path > Library** click on **Add External JARs...** and add the needed CraftBukkit.jar files for the modules above. Information on how to get them: https://www.spigotmc.org/wiki/spigot/
* Under **Java Build Path > Library** click on **Add External JARs...** and add the needed Spigot.jar files for the modules above. Information on how to get them: https://www.spigotmc.org/wiki/spigot/
* After that you can create the plugin for example by right-clicking the project and selecting **Export > Java > JAR file** or another recommended way.