gradle

16
Jéferson Machado So#ware Design Social network informa0on http://twitter.com/jefersonm http://facebook.com/jefe.machado https://github.com/jefersonm/ http://slideshare.net/jefersonm

Upload: jeferson-machado

Post on 26-May-2015

659 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Gradle

Jéferson Machado So#ware  Design  

Social  network  informa0on  

http://twitter.com/jefersonm http://facebook.com/jefe.machado

https://github.com/jefersonm/ http://slideshare.net/jefersonm

Page 2: Gradle

What  is  Gradle  ?  

Build  automa0on  evolved  

Page 3: Gradle

Gradle  

Flexibility  Dependency  

management  and  conven0on  

Page 4: Gradle

Powered  by  

Page 5: Gradle

Installa3on:  1-­‐  Download  Gradle  2-­‐  Added  GRADLE_HOME/bin  to  your  PATH  environment  variable      JVM  Op3ons:  GRADLE_OPTS  or  JAVA_OPTS  

Page 6: Gradle

Build  phases    

Ini3aliza3on  Gradles  determine  which  projects  are  going  to  take  part  in  the  build.  

Configura3on  The  build  scripts  of  all  projects  which  are  part  of  the  build  are  executed.  

Execu3on  Gradle  determine  the  subset  of  the  tasks,  created  and  configured  during  the  configura0on  phase,  to  be  executed.  

Page 7: Gradle

Plugins:    

 Languages:    java    groovy    scala  

Integra3on:  ear  war  maven  jenkins  

So#ware  developments:  checkstyle  findbugs  sonar  

Page 8: Gradle

Let’s  see  code!!!  

Page 9: Gradle
Page 10: Gradle
Page 11: Gradle
Page 12: Gradle

Java  plugin  

Page 13: Gradle
Page 14: Gradle

Successful  Gradle  users                

Page 15: Gradle

https://github.com/jefersonm/sandbox/tree/gh-pages/grails/gradle

Page 16: Gradle

Ques3ons  ???  

Jéferson Machado So#ware  Design  

Social  network  informa0on  

http://twitter.com/jefersonm http://facebook.com/jefe.machado

https://github.com/jefersonm/ http://slideshare.net/jefersonm