News for hackers. Stuff that matters.
Re:An Opinionated Guide to Modern Java Development, Part 1 by pjmlp on Thursday May 01, 2014 @01:54PM (#7681479)
Gradle is mainly being pushed by Grails and Android development.

I don't know of any other project using it. We are always doing Maven or Ant.

If Gradle is the future I hope it gets improved, I gave up on Android Studio given its dependency on Gradle and how it drags my dual core with 8 GB to its knees when compiling.

Re:An Opinionated Guide to Modern Java Development, Part 1 by vorg on Thursday May 01, 2014 @07:38PM (#7683327)
> I gave up on Android Studio given its dependency on Gradle and how it drags my dual core with 8 GB to its knees when compiling

That could be the slow, dynamically-typed Groovy in Gradle that's dragging your machine. Gradle needs to bundle another build language. Since the goal of statically-typed (and hence speedier) Kotlin is to make it easier to write IntelliJ IDEA [1], on which Android Studio is built, instead of using Java, the logical choice is Kotlin.

Gradle's developer says they'll happily support any community effort to create additional build script engines other than Groovy, but it isn't a priority for them right now [2]. Perhaps the Kotlin team need to kick off a Kotlin build engine for Gradle (though because one of the Kotlin developers was a victim of the Groovy++ fiasco, I'd understand if the Kotlin people are hesitant about having anything more to do with Groovy ecosystem software like Gradle).

[1] http://blog.lunatech.com/2011/08/24/scala-ceylon-kotlin-goal...

[2] http://www.gradle.org/overview

Re:An Opinionated Guide to Modern Java Development, Part 1 by pjmlp on Friday May 02, 2014 @03:28AM (#7684488)
Kotlin was exactly the reason I was thinking to move from Eclipse ADT to Android Studio.

So far I have been using the Eclipse ADT/CDT for my hobby development, mainly with C++ (just graphics stuff).

Then I thought to try out Kotlin instead, but could not. It was worse than waiting for my NDK C++ builds to finish, with the whole computer at 100% CPU usage.

I ended up filing a ticket, like many other developers already did.

Re:An Opinionated Guide to Modern Java Development, Part 1 by pron on Thursday May 01, 2014 @01:58PM (#7681508)
https://github.com/search?q=gradle&type=Code&ref=searchresul...

I also know that Netflix use Gradle for pretty much all their Java stuff.

Re:An Opinionated Guide to Modern Java Development, Part 1 by elchief on Thursday May 01, 2014 @03:11PM (#7682054)
Spring is pushing it hard in all their new tutorials, even non-Grails. Which annoys the heck outta this Maven guy.
Re:An Opinionated Guide to Modern Java Development, Part 1 by eeperson on Thursday May 01, 2014 @02:57PM (#7681955)
Is Grails really pushing Gradle adoption? My experience has always been that the integration between the two is pretty bad. Are things better now that they finally... released a real Gradle plugin to support Grails 2?
Re:An Opinionated Guide to Modern Java Development, Part 1 by pjmlp on Thursday May 01, 2014 @03:01PM (#7681982)
That was my perception. I don't have Grails experience.
Re:An Opinionated Guide to Modern Java Development, Part 1 by revscat on Thursday May 01, 2014 @02:12PM (#7681617)
Southwest Airlines uses it.
Re:An Opinionated Guide to Modern Java Development, Part 1 by vanilla on Thursday May 01, 2014 @05:49PM (#7682894)
libGDX (cross plattform game lib.) also made a push to gradle
Re:An Opinionated Guide to Modern Java Development, Part 1 by pjmlp on Thursday May 01, 2014 @07:06PM (#7683200)
Because of Android moving to gradle I would say.
Re:An Opinionated Guide to Modern Java Development, Part 1 by dminor on Thursday May 01, 2014 @10:15PM (#7683832)
They tried maven first, then gradle. Their build is pretty customized, so gradle makes a bit more sense.
Re:An Opinionated Guide to Modern Java Development, Part 1 by sadris on Thursday May 01, 2014 @02:37PM (#7681814)
And Minecraft Forge.
Re:An Opinionated Guide to Modern Java Development, Part 1 by heavenlyhash on Thursday May 01, 2014 @04:45PM (#7682588)
Personal anecdote, I stopped trying to develop for MC Forge in version 1.7 because the gradle build they switched to was unbelievably slow and difficult to use. After several days of poking it, I still couldn't understand why asking gradle for a simple list of available tasks was taking >10 seconds, and when I tried to give my workspace to a friend on another computer, I discovered I had totally I failed to get a list of coherent commands that I was 100% sure could reproduce my workspace on a new machine, because of large amounts of scattered hidden state I had failed to detect. Part of this might be poor build config design, but gradle certainly helped enable a lot of poor behavior and certainly doesn't impress me with its performance for trivial tasks.