Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMustafa Ogün Öztürk
3,468 PointsGradle vs Maven
Hi
I have been searching internet for a while and i ve seen that a lot of people use Maven as a dependency manager while working with Spring.
So I just wonder that why Treehouse uses Gradle over Maven.
Thanks for your answers.
1 Answer
Livia Galeazzi
Java Web Development Techdegree Graduate 21,083 PointsI can only guess, but I think it's simply that it's a lot easier to understand a build.gradle file than a pom.xml file for a beginner. Lots of people start here with 0 programming knowledge and might not be familiar with xml at all, it makes the learning curve less steep to avoid throwing that particular ball at them right away. Another factor might have been that Gradle was picked by Google as the official build tool for Android. It was probably easier to stick to one java build tool in the main tracks, allowing students to transfer their knowledge more easily.
That said, there is a workshop on Maven. It's a good idea to have both tools in your toolkit anyway. https://teamtreehouse.com/library/building-with-maven