プロジェクトのセットアップ

警告

These docs were written for SpongeAPI 7 and are likely out of date. If you feel like you can help update them, please submit a PR!

Before you can start developing your Sponge plugin, you need to set up the SpongeAPI dependency in your project. If you’re already experienced with your build system, below is the Maven dependency you need to add. Otherwise, there is a more detailed explanation at the Gradle and Maven page.

SpongeAPI 依存関係

Maven リポジトリ

Name

sponge

URL

https://repo.spongepowered.org/repository/maven-public/

Maven 依存関係

グループ ID

org.spongepowered

Artifact ID

spongeapi

Version

For example: 8.0.0 (stable), or 8.1.0-SNAPSHOT (dev build, unstable)

プロジェクトのセットアップ