Skip to content

Building from Source

Aridro Chatterjee edited this page Nov 15, 2026 · 1 revision

Building from Source

Want to compile MineBridge yourself? Follow these steps.

Requirements

  • JDK 21
  • Git
  • Internet connection
  • Terminal or command prompt

1. Clone the Repository

git clone https://github.com/aridrochatterjee/Minebridge.git
cd Minebridge


2. Build MineBridge
On Linux/macOS:
./gradlew build


On Windows:
gradlew.bat build


Gradle will download the required dependencies and compile the project.
3. Find the JAR
After a successful build, navigate to:

build/libs/

Your compiled MineBridge JAR should be there.
4. Install on Your Server
1. Stop your Minecraft server.
2. Copy the generated JAR into the plugins folder.
3. Start your server.
4. Check the console for MineBridge startup messages.
5. Run Tests
To run the test suite:
./gradlew test


Troubleshooting
Build fails?
- Check that JDK 21 is installed.
- Verify your internet connection.
- Try running ./gradlew clean build.
Gradle permission denied?

Run:
chmod +x gradlew


Then try building again.
Contributing

Clone this wiki locally