Your SlideShare is downloading. ×
  • Like
Simplifying build scripts with Gradle
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Simplifying build scripts with Gradle

  • 2,011 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,011
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
13
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • November 2006
  • The simple compile was replaced by a Makefile -which was replaced by an Ant build.xml -which was replaced by many build.xml files -which were generated by an XSLT transform -which was replaced by Maven And Maven brought forth a Plague of Apache Commons, and there was a flood of all the Libraries of the Internet as a judgement upon the people.
  • The same story happens over and over 1.We observe a pattern 2.We create abstractions and generalisations 3.We turn the abstractions into a framework 4.The framework becomes a Golden Hammer 5.People start to subvert the framework 6.Finally, sometimes, simplicity grows out of adversity
  • The simple compile was replaced by a Makefile -which was replaced by an Ant build.xml -which was replaced by many build.xml files -which were generated by an XSLT transform -which was replaced by Maven And Maven brought forth a Plague of Apache Commons, and there was a flood of all the Libraries of the Internet as a judgement upon the people. The same story happens over and over 1.We observe a pattern 2.We create abstractions and generalisations 3.We turn the abstractions into a framework 4.The framework becomes a Golden Hammer 5.People start to subvert the framework 6.Finally, sometimes, simplicity grows out of adversity
  • The simple compile was replaced by a Makefile -which was replaced by an Ant build.xml -which was replaced by many build.xml files -which were generated by an XSLT transform -which was replaced by Maven And Maven brought forth a Plague of Apache Commons, and there was a flood of all the Libraries of the Internet as a judgement upon the people. The same story happens over and over 1.We observe a pattern 2.We create abstractions and generalisations 3.We turn the abstractions into a framework 4.The framework becomes a Golden Hammer 5.People start to subvert the framework 6.Finally, sometimes, simplicity grows out of adversity
  • The simple compile was replaced by a Makefile -which was replaced by an Ant build.xml -which was replaced by many build.xml files -which were generated by an XSLT transform -which was replaced by Maven And Maven brought forth a Plague of Apache Commons, and there was a flood of all the Libraries of the Internet as a judgement upon the people. The same story happens over and over 1.We observe a pattern 2.We create abstractions and generalisations 3.We turn the abstractions into a framework 4.The framework becomes a Golden Hammer 5.People start to subvert the framework 6.Finally, sometimes, simplicity grows out of adversity
  • The simple compile was replaced by a Makefile -which was replaced by an Ant build.xml -which was replaced by many build.xml files -which were generated by an XSLT transform -which was replaced by Maven And Maven brought forth a Plague of Apache Commons, and there was a flood of all the Libraries of the Internet as a judgement upon the people. The same story happens over and over 1.We observe a pattern 2.We create abstractions and generalisations 3.We turn the abstractions into a framework 4.The framework becomes a Golden Hammer 5.People start to subvert the framework 6.Finally, sometimes, simplicity grows out of adversity

Transcript

  • 1. Simplifying builds with Gradle Saager Mhatre
  • 2. dexterous
  • 3. errata
  • 4. simplifying builds with gradle ^ script
  • 5. disclaimer
  • 6.  
  • 7. simplifying build scripts with gradle
  • 8. build script
  • 9. build
  • 10. source artifacts
  • 11. source artifacts
  • 12. source artifacts code configuration
  • 13. source artifacts code configuration
  • 14. source artifacts code configuration classes generated code
  • 15. script
  • 16. more expressiveness less ceremony
  • 17. simplify
  • 18. simplify … ?
  • 19. simplify … ? http://www.stickyminds.com/s.asp?F=S11633_MAGAZINE_2
  • 20. simplify … ? http://www.infoq.com/presentations/Simple-Made-Easy
  • 21. simplify … ? http://blip.tv/clojure/stuart-halloway-simplicity-ain-t-easy-4842694
  • 22.  
  • 23. enough talk let’s build something
  • 24.  
  • 25.  
  • 26.  
  • 27.  
  • 28. conditional execution
  • 29. static analysis
  • 30. execution profiling
  • 31. insanity ensues
  • 32. http://www.cs.swarthmore.edu/~newhall/unixhelp/javamakefiles.html
  • 33. http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html#enhance
  • 34. http://www.ibm.com/developerworks/xml/library/x-antxsl/
  • 35. http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Super_POM
  • 36. http://xkcd.com/303/
  • 37. Finally, sometimes, simplicity grows out of adversity http://www.infoq.com/presentations/Simplicity-Architect
  • 38. gradle
  • 39. talk is cheap, let’s see some code https://github.com/dexterous/crave2gradle
  • 40. for more gradle goodness http://mrhaki.blogspot.com/search/label/Gradle%3AGoodness
  • 41. a community that keeps on giving https://github.com/search?type=Repositories&language=&q=gradle+plugin
  • 42. “ maven has me in its evil clutches!” https://github.com/jbaruch/maven2gradle
  • 43. gradleware http://gradleware.com
  • 44. http://j11.indicthreads.com/feedback http://spkr8.com/t/8377