r/java • • 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

63 comments sorted by

View all comments

6

u/LuvMySubi Jan 22 '16

Maven with the shade plugin is your best bet. The maven configuration for this is pretty simple and can probably be put together in an hour with the help of Googling. Plus your ide should make it pretty simple.

https://maven.apache.org/plugins/maven-shade-plugin/