~/talk

Gradle Plugin, Take Control of the Build!

TalkinFrenchat DevFest Paris 2015 · on Friday, 2015-01-30· [devops-and-delivery]
slides:none on file

Shows how to implement a real Gradle plugin using a Genymotion example: the plugin needs five files (build.gradle, plugin class, descriptor, task class, extension) and can copy reports with only a few lines of code. Demonstrates creating an extension, generating tasks, the need to perform injection in afterEvaluate to handle task-graph timing, plus testing with project.evaluate, publishing to local/Maven/JCenter, and pitfalls when wiring tasks to Android test targets.

AI-written summary · about

  1. 0:00Gradle introduction
  2. 2:29Key definitions
  3. 9:07Simple test task
  4. 11:35Why build a plugin
  5. 12:57Plugin project structure
  6. 16:30Gradle conventions
  7. 17:54Plugin main class
  8. 23:15Plugin user extension
  9. 26:03Plugin descriptor role
  10. 27:05Build and compile plugin
  11. 28:54Binary export
  12. 29:55Using the plugin
  13. 32:23Plugin demo
  14. 34:28Debug task graph
  15. 38:26Gradle events
  16. 40:10Plugin task types
  17. 42:59Dynamic task creation
  18. 46:14Future Gradle improvements
  19. 47:15Plugin testing
  20. 48:18Publishing the plugin
  21. 50:08Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.