Skip to content

Dependencies

INFO

Minestom needs Java 25 or newer in order to run. If you are using Gradle, you must use version 9.1 or higher. If you are using IntelliJ IDEA, you must use 2025.2 or higher.

Adding Minestom to your Java project is done just like a normal library.

Repositories

groovy
repositories {
    mavenCentral()
}

Dependencies

groovy
dependencies {
    implementation 'net.minestom:minestom:<--version-->'
}

The version string for the master branches are always the latest github release name.

Minestom PR branches are also published and can be used to preview upcoming features. You can enable them with

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")
}