Das neue Android Build System ist angetreten, um viele Probleme der Vergangenheit zu lösen. Mit Gradle als Basis, einem komplexen Plug-in speziell für Android und einer tiefen Integration in Android Studio kann man schon von einem "Next Generation" Build-System sprechen. Doch was bringt die neue Technologie in der Praxis, und wie kann ich die neuen Features in meinem Entwicklungsprozess nutzen?
Wir zeigen praktische Beispiele vom Projekt-Setup über den Build-Prozess und Konfigurationsmanagement bis hin zur CI-Integration sowie Erfahrungen mit der Migration existierender Projekte. Source Code: https://github.com/dhelleberg/androidgradlesample
10. Best of ANT / Maven / GANT / Ivy!
Based on Groovy Scripts!
Expressive DSL !
(Flexible) Convention over Configuration!
Easy to extend!
!
„Make the impossible possible, make the possible
easy and make the easy elegant.” !
!
!
32. Status Quo!
• Mostly stable but
expect breaking changes!
• Documentation poor!
• Many examples might not
work (old versions)!
• Features are worth
considering it
• Mostly stable!
• Unpredictable updates!
• Tools & Features
missing!
• IntelliJ EAP Release
33. Empfehlung!
• „I‘m feeling lucky“!
• Multiproject-Builds!
• Safe side: stay with eclipse (but maybe use gradle)!
• Gradle will be mandatory / Android Studio is optional!
!
!
41. „Gradle is the most advanced, next
generation build system“
Hans Dockter
„You should really give it a try (not
only for android)“
Dominik Helleberg