1.4 KiB
1.4 KiB
Compiling
Clone the repo
git clone https://git.trueog.net/trueog/AreaShop-OG.git
Compile a Jar
This task may take a while as the dev environment for platform adapters in adapters/platform take a while to set up
Compilation command: ./gradlew build (UNIX) or gradlew build (Windows)
The plugin jar can be found under the AreaShop-OG module in AreaShop-OG/build/libs/
There are three jars, use the one which has no suffix. Ex: AreaShop-OG-VERSION.jar
Gradle Tasks
The following is a simple table describing commands which may be useful for building the plugin.
For more details about gradle please view their documentation here.
A shorthand for the CLI here.
| Command | Description |
|---|---|
gradlew build |
Compiles all modules and packages the plugin into one jar |
gradlew clean |
Cleans the development workspace and clears caches. Note, you don't have to clean before you build |