Skip to content

Installation

echo edited this page Apr 27, 2025 · 27 revisions

📦 Requirements

Before installing Brain4J, make sure you have:

  • Java 21+ installed on your system.
  • Gradle or Maven for dependency management.

⚙️ Installation Methods

1️⃣ Using Gradle

Add the following to your build.gradle file:

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.xEcho1337:brain4j-core:latest-version'
}

2️⃣ Using Maven

Add this to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.xEcho1337</groupId>
        <artifactId>brain4j-core</artifactId>
        <version>latest-version</version>
    </dependency>
</dependencies>

Replace latest-version with the most recent release (2.7.1 as of 27/04/25)

📚 Next Steps

Clone this wiki locally