Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Ant and Gradle

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have used Apache to Build Our application (ear),consisting of Java,js jsp,css,html.
I wanted to try the same using Gradle.
Is their any noticable performace while building the application.?
Are their any new features over ant in gradle..?
Can some one Please suggest me over the same.
Thanks in advance
 
Saloon Keeper
Posts: 5809
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made the switch for Android apps, not sure how it compares for web apps. Gradle does take longer to start up, sort of like Maven does, but it also does more than Ant, so that's probably to be expected.

One feature it has over Ant is dependency management -again, sort of like Maven- so you no longer need Ivy (or whatever custom approach you took for that).

Android apps tend to have lots of dependencies, so for that alone it was worth making the switch for me. YMMV.
 
author & internet detective
Posts: 39537
778
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I write/run a build, the time consuming part is things like compiling, running integration tests, running static analysis, etc. I would be surprised if the build tool itself took a meaningful percentage of time.

I agree with Tim that your decision should be made on features rather than build performance.
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!