To use the Purpur API in your development environment, add the Purpur snapshot repository and the purpur-api dependency to your build configuration. The Purpur API includes all APIs provided by Paper, Spigot, and Bukkit.
Maven Configuration:
<repository>
<id>purpur</id>
<url>https://repo.purpurmc.org/snapshots</url>
</repository>
<dependency>
<groupId>org.purpurmc.purpur</groupId>
<artifactId>purpur-api</artifactId>
<version>[26.2.build,)</version>
<scope>provided</scope>
</dependency>
Gradle Configuration:
repositories {
maven("https://repo.purpurmc.org/snapshots")
}
dependencies {
compileOnly("org.purpurmc.purpur:purpur-api:26.2.build.+")
}
<repository>
<id>purpur</id>
<url>https://repo.purpurmc.org/snapshots</url>
</repository>