• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Gradle as build tool

 
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Folks.
I have always used ANT to build Android projects, but I see that many projects move to Gradle.
Is it really worth? How about integration with IDEs (my concern is mainly about IntelliJ IDEA)? Why not Maven then?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Android Studio (which is based on IntelliJ) supports the Gradle build system. Since Google works closely with the IntelliJ folks on that I would expect any work to trickle back to the main IntelliJ product sooner rather than later.

As to why not Maven, that could easily escalate in an is-Maven-good-or-bad flamewar :-) My impression is that the Android folks were looking for something flexible and customizable - not Maven's strongest suit.

http://tools.android.com/tech-docs/new-build-system/user-guide talks a little bit about the underlying motivation.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf, very informative.
For me Gradle is something like 'step back' from Maven in direction of Ant (which looks simpler; at the same time Apache IVY is step onward to Maven, by providing dependency management).

Ulf Dittmer wrote:
As to why not Maven, that could easily escalate in an is-Maven-good-or-bad flamewar :-) My impression is that the Android folks were looking for something flexible and customizable - not Maven's strongest suit.


After some using of Gradle, I understand that Gradle config file is much smaller than Maven one. It's just a first impression, I will dig into it to know how it differs in flexible and customizable meanings.
 
reply
    Bookmark Topic Watch Topic
  • New Topic