A mature Minecraft plugin API (not including an implementation), licensed under the MIT License.
- Java 8 (JDK 16 recommended for development)
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 11. If an older JDK is used to launch Gradle, JDK 11 will be downloaded automatically.
Are you a talented programmer looking to contribute some code? We'd love the help!
- Open a pull request with your changes, following our guidelines.
- Please follow the above guidelines and requirements for your pull request(s) to be accepted.