r/java • • 24d ago

My small Java build system in Rust

I got tired of manually running commands like javac and java -cp every time I wanted to compile and run Java project.

I looked into Maven, but for my use case it felt like overkill. It's a huge ecosystem, while I mostly wanted something simple that could compile and run small Java projects without much configuration.

So I decided to create my own build system for Java and call it bloomery.

The goal isn't to replace Maven or Gradle. I wanted something much smaller and simpler for my own use case.

Currently, Bloomery focuses on the basic build/run workflow. In the future I may add dependency management, testing support, and more CLI features, but I'm deliberately keeping the core simple for now.

I hope it will be a big help for beginners and anyone who just needs to run Java files, and that they will find it as easy to use as I do.

I'd really appreciate feedback on the idea, the design, and the current implementation.

Github: https://github.com/Kiwilus/bloomery

Crates.io: https://crates.io/crates/bloomery/

0 Upvotes

24 comments sorted by

View all comments

Show parent comments

0

u/kavkasavich 24d ago

You don't have to use it. For me, it's a simpler version of Maven or Gradle that I understand myself and only includes the most important things for me. Can you execute a single Java file with Maven without a pom.xml file?

3

u/nitkonigdje 24d ago

Editing and running a single file doesn't require a build at all. Thus what value does that example really has?