So I am almost programming for 3 years I guess, just for fun. I learned to program in Java and I still do. I was always used to let Eclipse build my code by clicking 'Run' and I don't really get why things like Maven, Ant and Gradle are used.
Now I am also using GitHub for some projects, and I see these build tools being intergrated in GitHub repos a lot, with platforms like Jenkins, Travis etc. I think they use these build tools along GitHub, to like build the code every time there is a commit, right?
So my questions are, why should I use build-tools? Which build tool do you recommend? And how do I use that build tool with GitHub?
(Please say if I need to clarify my questions more)