A mature Minecraft plugin API (not including an implementation), licensed under the MIT License.
The following steps will ensure your project is cloned properly.
git clone https://github.com/SpongePowered/SpongeAPI.git
cd SpongeAPI
cp scripts/pre-commit .git/hooks
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.
In order to build SpongeAPI you simply need to run the gradle
command. You can find the compiled JAR file in ./build/libs
labeled similarly to 'spongeapi-x.x.x-SNAPSHOT.jar'.
Sponge will use a javac version of at least 21. If an older JDK is used to launch Gradle, JDK 21 will be downloaded automatically.
Are you a talented programmer looking to contribute some code? We'd love the help!