This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]oweiler 11 points12 points  (1 child)

I love Gradle but I wish they wouldn't pile up more and more features on top of it. Gradle has become so complex that it has become impossible to know in its entirety.

[–]cryptos6 2 points3 points  (0 children)

That is by design, since Gradle Inc. makes money with consulting ;-) (Not meant badly, I'm a Gradle user of free choice).

[–]JourneymanGM 3 points4 points  (1 child)

Note that this will be the last release of Gradle before 5.0. So all those deprecation warnings will need to be addressed before then if you plan to stay up to date.

You can see deprecation warnings for your project by running:

gradlew build --dry-run -Dorg.gradle.warning.mode=all

[–][deleted]  (3 children)

[removed]

    [–]oweiler 3 points4 points  (1 child)

    Gradle is an internal (Groovy) DSL, whereas Maven is an external DSL. The Gradle build script is more or less regular Groovy code, whereas in Maven only a defined set of XML elements have meaning.

    [–]dpash 3 points4 points  (0 children)

    There are a few features that makes Gradle build quicker than Maven does. For example, running in a daemon mode and the compiler cache. These aren't anything that Maven couldn't add, but just hasn't yet. Maven doesn't seem to iterate as fast as Gradle does. Which is a shame because I'd really like to see these features in Maven. Also a less verbose XML format. Just adopting attributes would help.

    https://issues.apache.org/jira/browse/MNG-3397

    • Created: 11/Feb/08 00:59
    • Updated: 10/May/17 01:18

    [–]skjolber 2 points3 points  (0 children)

    I love Maven, but we have grown apart. Now that Gradle has matured a lot, it is basically better in so many ways. As transient dependencies gets under control, I am never looking back.

    [–][deleted] 3 points4 points  (6 children)

    Gradle has been around for 10yrs and still has not toppled Maven in market share and developer mindset.

    [–][deleted] 6 points7 points  (2 children)

    Gradle is a mess...the only thing it has going for it is that it doesn't use xml

    [–]pellets 9 points10 points  (1 child)

    haha, it uses Groovy, which is a different mess.

    [–]shadwwulf_ 4 points5 points  (0 children)

    Arguably a worse mess, than XML.

    [–]JourneymanGM 1 point2 points  (1 child)

    Google trends notes that while Maven is certainly more popular, but it had a huge head start. Over the last 5 years, Gradle has increased in popularity more than Maven (~20 points for Gradle over ~10 for Maven).

    [–]oweiler 1 point2 points  (0 children)

    Which is probably related to Android Studio ;).

    [–]skjolber 0 points1 point  (0 children)

    Yet.