Dependencies
INFO
Minestom requires Java 25 or newer. Gradle users need 9.1 or higher, and IntelliJ IDEA users need 2025.2 or higher.
Minestom is published to Maven Central, so you add it the same way as any other Java library.
kotlin
repositories {
mavenCentral()
}
dependencies {
implementation("net.minestom:minestom:<--version-->")
}groovy
repositories {
mavenCentral()
}
dependencies {
implementation 'net.minestom:minestom:<--version-->'
}xml
<dependencies>
<dependency>
<groupId>net.minestom</groupId>
<artifactId>minestom</artifactId>
<version><--version--></version>
</dependency>
</dependencies>Release versions are named after the matching GitHub release. A net.minestom:testing artifact is published alongside each release, which provides helpers for integration testing your server.
Snapshots
Pull request branches are published as snapshots, so you can try upcoming features before they are released. The version is <branch>-SNAPSHOT, and the master branch is published as master-SNAPSHOT.
kotlin
repositories {
maven(url = "https://central.sonatype.com/repository/maven-snapshots/") {
content { // This filtering is optional, but recommended
includeModule("net.minestom", "minestom")
includeModule("net.minestom", "testing")
}
}
mavenCentral()
}
dependencies {
implementation("net.minestom:minestom:<branch>-SNAPSHOT")
testImplementation("net.minestom:testing:<branch>-SNAPSHOT")
}