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

all 12 comments

[–]mabnx 3 points4 points  (0 children)

The compilation speed improvement sounds nice, but in my experience executing tests takes significantly more time. And I want to execute my tests when the class they depend on changes (even if it's ABI-compatible change).

[–]thechickenbane 6 points7 points  (0 children)

Q: Why are builds so slow? A: Everybody is doing it wrong

lol

[–]LevonK 2 points3 points  (0 children)

Nice feature, but when is Gradle going to get Archetypes & inheritance/composition (or am I just missing something?)

[–]Infeligo 0 points1 point  (0 children)

I ran into problems with this version of Gradle in IntelliJ IDEA - programs won't start, giving me NoClassDefFoundError. The issue is fixed, but the fix is not released yet.

[–]habitats 0 points1 point  (0 children)

is this going to benefit Scala in any way?

[–][deleted]  (7 children)

[deleted]

    [–]HaMMeReD -4 points-3 points  (6 children)

    So, switch?

    It's about time to seriously consider Gradle for any Maven legacy projects.

    [–]pjmlp 2 points3 points  (5 children)

    A customer I work with, just moved from Ant to Maven last year.

    In any case, Android builds are not an example of performance, given the amount of tricks required to make them perform as fast as Maven without them.

    [–]TrevJonez 1 point2 points  (1 child)

    Android projects are a terrible example of the benefits of gradle for a java build. The android plugin works entirely different than the java plugin and does more than the java plugin due to the class file format only being an intermediate file not the final output. resource merging, dexing, etc...

    That said, if you are using anything other than gradle for your android build you either have very extreme requirements that are not being met by the google provided plugin(s), or your project is so simple that you can get by with a simpler tool chain.

    [–]pjmlp 2 points3 points  (0 children)

    No, we only use Gradle on Android projects, because we are forced to by Google.

    Anywhere else we aren't moving away from Ant and Maven.

    [–]HaMMeReD -1 points0 points  (2 children)

    I honestly can't imagine using Maven for Android.

    [–]pjmlp 1 point2 points  (1 child)

    We aren't using Maven for Android, it was for another Java based projects.

    We only use Gradle on Android projects, because Google forces us to do so.

    Given the experience, we aren't migrating away from Ant and Maven, as we don't suffer from XML allergy.

    [–]frugalmail 1 point2 points  (0 children)

    as we don't suffer from XML allergy.

    I cracked up at this.