Skip to content

Build Tool Setup

PiggyPiglet edited this page Oct 18, 2019 · 8 revisions

Many build tools exist for java these days, but the two main ones are Gradle & Maven. Both of these achieve the same end result, but the process differs significantly. Maven, for example, uses XML for it's configs, and is extremely verbose, whereas Gradle uses the groovy programming language, and is usually compactor while providing more functionality.

Some key notes you should know before continuing on to the setups though, you'll want to replace %group id%, %version%, %main class% and %package% in each example with your own data. Keep in mind, that some modules will require other repositories, for example the Bukkit implementation needs the Spigot repository to be added, and the mysql needs Aikar's repo to be added.

Gradle
Maven