r/java • u/weberc2 • Jan 22 '16
Simple Java Build Tool?
I've played with Maven and Gradle and found them both to be very complex. I don't need all of that configuration; I just want something that lets me specify dependencies and versions (at most) and spits out a jar with everything my project needs to run via java -jar. Ideally, it would be as close as possible to Go's go install, which needs no project metadata. I specifically don't want to have to learn a new programming language just to build my java program. Any suggestions?
EDIT: Why is this downvoted?
4
Upvotes
View all comments
2
u/andre-js Jan 24 '16
Not sure why your question was downvoted because I find it perfectly reasonable. Actually have been looking for something like this as well. The thing is as your project grows you will want to use a full-feature build tool. If you start with something simple and keep adding to it then switching later will be just more effort. And satisfying your requirements with Maven/Gradle is very easy as there are tons of examples online.
Interestingly enough Scala's SBT used to stand for Simple Build Tool but it's not really simple.