接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
bld is a build tool that lets you write your build logic in pure Java.
bld was created because we're not really interested in build tools. We use
them because we have to, but we'd rather just get on with coding the real stuff.
bld is designed with the following principles in mind:
bld requires Java 17 or later and supports the latest JDK releases. Your
build logic stays concise and readable, and any Java IDE understands it. You
get auto-completion and javadoc documentation, and you can split your build
logic into multiple files and classes when you outgrow a single file.
Here is a complete bld file for a Java application using JUnit 5 for its tests. Nothing else is needed to be able to run it, test it and distribute it:
package com.example;
import rife.bld.Project;
import java.util.List;
import static rife.bld.dependencies.Repository.*;
import static rife.bld.dependencies.Scope.*;
public class MyAppBuild extends Project {
public MyAppBuild() {
pkg = "com.example";
name = "my-app";
mainClass = "com.example.MyApp";
version = version(0,1,0);
downloadSources = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(6,1,3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(6,1,3)));
}
public static void main(String[] args) {
new MyAppBuild().start(args);
}
}
NOTE:
bldsupports different ways to describe dependencies,dependency("org.junit.jupiter", "junit-jupiter", version(6,1,3))can for instance also be written asdependency("org.junit.jupiter:junit-jupiter:6.1.3"). Which format you use, is a matter of personal taste.
bld fit?Maven and Gradle describe a build for the tool to execute. bld is ordinary
Java that runs directly.
Writing your build logic in the same language as your application (Java) reduces the cognitive load, and taking actions immediately without having to mentally construct a described plan makes it easier to reason about your build.
Out of the box, bld knows how to create, compile, test, document, run,
package and publish your projects. Transitive dependencies are resolved and
downloaded in parallel with live progress reporting, Maven bills of materials
keep versions consistent across your dependency tree, builds run offline when
you want them to, and your artifacts publish straight to Maven Central through
the Sonatype Central Portal.
Modern Java deployment is covered as well, with first-class operations for Java
modules, jmod, jlink runtime images, jpackage native installers, and
annotation processing.
When you need more, there's a growing collection of extensions: Kotlin, Spring Boot, Checkstyle, PMD, SpotBugs, JaCoCo code coverage, ANTLR4, PIT mutation testing, TestNG, and many others. Writing your own extension is just writing Java code.
Since version 3.0, bld can serve your build commands as Model Context
Protocol (MCP) tools. AI coding agents get a structured interface to compile,
test and run your project, with streamed command output and execution
metadata instead of scraped terminal text. Your build stays explicit and
API-defined, agents just get a first-class way to drive it.
./bld mcp install # register the project with Claude Code
./bld mcp install cursor # register with Cursor
./bld mcp install vscode # register with VS Code
Since version 2.0, bld comes with its own IntelliJ IDEA plugin:
bld projects and find their main Java classbld projectsbld projects in a side panelbld commands from icons in the gutter of the build filebld projectbld commandsbld console panel for command output with source code hyperlinkingbld dependency treebld in offline or online modebld console when a command is executedbld commandbld one-click cache invalidationbld commands to run before or after IDEA compilationbld command run configuration with options, JVM arguments, and before launch tasksbld commandsbld lets your build logic get out of the way so that you can focus on writing
applications.
Get started immediately by installing bld
through Homebrew, SDKMAN!, JBang, zip archive, or run it directly from its jar file.
brew install rife2/tools/bld # using Homebrew
sdk install bld # using SDKMAN!
jbang com.uwyn.rife2:bld:3.0.1 # using JBang
If you merely want to create a new project, bld can also be used by executing this one-liner:
bash -c "$(curl -fsSL https://rife2.com/bld/create.sh)"
Or on Windows:
irm https://rife2.com/bld/create.ps1 | iex
If you have any questions, suggestions, ideas or just want to chat, feel free to post on the forums or to join us on Discord.
Read more in the full documentation and bld Javadocs.
See CONTIBUTING.md for information about contributing to this project.
Pure java build tool for developers who don't like dealing with build tools
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Bld 透過 stdio 在本機執行。
上次檢查時間:2026-11-12。 Pure java build tool for developers who don't like dealing with build tools