Kaffee.
The modern Java/Kotlin/Scala build system.
What's Kaffee?
Kaffee is a new build system made for Java/Kotlin/Scala in Rust. It focuses on simplicity and performance. From the start, it has been designed to give developers an easier and friendler project structure, not something you have to click 8 buttons to open that one file.
Simplicity
Project structure
We <3 simplicity. Here, take a peek at a basic Kaffee Java project -
src/
App.java
Kaffee.toml
..That's it! No, really. That's really it. Now you can run this project by doing kaf run
or kaf r
.
Dependency management
Kaffee uses Maven Central to fetch dependencies for your project. You can simply add a dependency by doing kaf add
or kaf add
if you want a specific function.
kaf add
is simply a shortcut which searches Maven Central and adds the dependency into the Kaffee.toml
, you can always edit it yourself
[dependencies]
name = "Version"
We won't stop you :)
Production ready
Get rid of all those manual jar calls! You don't need them! Pack everything into a single jar file using kaf pack
and a cute little jar file will be present in bin/jar/NAME.jar
Now do anything with it! Send it, eat it, destroy it, it's yours.
Performance
No-one likes waiting for the compiler to start, so Kaffee compiles in daemon made. No more waiting for the darn compiler taking too long to startup! Kaffee will start it once and use it as you go in your developer session.
But that's not it.. Kaffee is smart. If the daemon isn't utilized for 30 minutes, Kaffee will shut it down and start it the next time to reduce CPU and RAM usage.
License
Kaffee is licensed under the MIT license. Please look at the LICENSE
file for more information.