1
0
Fork
You've already forked buildente
0
This repository has been archived on 2026年04月29日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Java 98.9%
  • Nix 1.1%
haruki7049 1270c1711b
All checks were successful
Publish to Codeberg Maven / publish (push) Successful in 59s
Update README
2026年03月13日 17:59:49 +09:00
.forgejo/workflows Delete pages.yml for now 2026年03月12日 10:11:03 +09:00
buildente-app Update build scripts 2026年03月12日 09:35:07 +09:00
buildente-lib Update DepsPropertiesTest.java 2026年03月13日 17:20:36 +09:00
config/checkstyle
example-project Update 2026年03月11日 19:15:18 +09:00
gradle
.envrc
.gitattributes
.gitignore
flake.lock Update flake.nix 2026年03月11日 11:23:27 +09:00
flake.nix Update flake.nix 2026年03月11日 11:23:27 +09:00
gradle.properties
gradlew
gradlew.bat
LICENSE-APACHE Create License files 2026年03月12日 09:20:10 +09:00
LICENSE-MIT Create License files 2026年03月12日 09:20:10 +09:00
README.md Update README 2026年03月13日 17:59:49 +09:00
settings.gradle.kts Update build scripts 2026年03月12日 09:35:07 +09:00
shell.nix

buildente

A build scripting library for Java (and probably other JVM languages in the future), as the build.zig from ziglang.

How to use

On your project root, Create Buildente.java and then write as the following:

importdev.haruki7049.buildente.Build;importdev.haruki7049.buildente.BuildScript;importdev.haruki7049.buildente.Executable;importdev.haruki7049.buildente.FatJarStep;importdev.haruki7049.buildente.ManifestConfig;importdev.haruki7049.buildente.Module;importdev.haruki7049.buildente.RunStep;publicclass BuildenteimplementsBuildScript{@Overridepublicvoidbuild(Buildb){Modulemod=b.createModule("src");mod.addDependency("buildente");ManifestConfigmanifest=newManifestConfig().setMainClass("com.example.Main").addAttribute("Built-By","Buildente").addAttribute("Implementation-Title","Hello Example").addAttribute("Implementation-Version","1.0.0");Executableexe=b.addExecutable("com.example.Main",mod,manifest);FatJarStepfat=b.addFatJar("hello",exe);RunSteprun=b.addRunArtifact(exe);b.getInstallStep().dependOn(fat);b.step("run","Compile and run the Hello example").dependOn(run);}}

Supported Java version

Java 17 or above.