Forge Build Tool

Fast Java build tool with Groovy & Kotlin DSL support

What is Forge?

Forge is a modern, lightweight Java build tool designed for speed and simplicity. It provides a clean DSL for defining your build configuration with support for both Groovy and Kotlin.

⚡ Fast

Optimized for quick builds and incremental compilation

🔧 Simple

Easy to understand build configuration with minimal boilerplate

🎯 Flexible

Support for Groovy and Kotlin DSLs for your preferences

📦 Maven Compatible

Works with Maven Central and other standard repositories

Quick Start

1

Download

Get the latest binary from the Downloads page

2

Install

Extract and run the installer. See Installation guide

3

Build

Create a build.forge or build.forge.kts file and run forge build

4

Learn

Explore more in the Documentation

Example Build Configuration

name = "MyProject"
version = "1.0.0"

dependencies {
    add "com.google.code.gson:gson:2.10.1"
    add "org.junit.jupiter:junit-jupiter-api:5.9.2"
}

repositories {
    add "https://repo.maven.apache.org/maven2"
}
name("MyProject")
version("1.0.0")

dependencies {
    add("com.google.code.gson:gson:2.10.1")
    add("org.junit.jupiter:junit-jupiter-api:5.9.2")
}

repositories {
    add("https://repo.maven.apache.org/maven2")
}