- Spigot Version 1.21.6 - 1.21.11
- Java 25 (If on 26.1 and up)
- Java 21 (If on 1.20.5 and 1.21.11)
- Java 17 (If on 1.19 -> 1.20.4)
Maven Dependency:
<repository>
<id>bs-repo-releases</id>
<url>https://repo.bsdevelopment.org/releases/</url>
</repository>
<dependency>
<groupId>org.bsdevelopment.simplepets</groupId>
<artifactId>api</artifactId>
<version>R5-B294</version> <!-- This version is automatically updated -->
</dependency>Gradle Dependency (Groovy DSL):
repositories {
maven {
url 'https://repo.bsdevelopment.org/releases'
}
}
dependencies {
implementation 'org.bsdevelopment.simplepets:api:R5-B294' // This version is automatically updated
}Gradle Dependency (Kotlin DSL):
repositories {
maven("https://repo.bsdevelopment.org/releases")
}
dependencies {
implementation("org.bsdevelopment.simplepets:api:R5-B294") // This version is automatically updated
}With the release of R5-B292 we have moved to a gradle project and there are no more jars for each version.
Instead, there is now only a single SimplePets.jar file located in the build/libs folder.
If you wish to compile your own version of the plugin you can do so by running the following command: gradle clean build
When compiling a custom version you need to supply a 'revision' variable
which will be your custom version. If no revision is supplied the version
will default to be 5.0-BUILD-0
Example: -Drevision=5.0-BUILD-100
There are a few different ways you can compile the plugin (as of
May 1st 2024):- If you want to compile all current supported version you can run this command:
mvn clean install -Drevision={version}- If you want to compile a specific supported version run a command similar to this:
mvn clean install -Drevision={version} -Dtarget-mc=1.20.6- If you want to compile the latest supported version run this command: mvn clean install -Drevision={version} -Platest
