~/talk

Gradle plugins: take it to the next level (en)

slides:none on file

Shows a real Gradle plugin built for Genymotion that actually runs devices before instrumentation tests, using nested extensions and a NamedDomainObjectContainer with a NamedDomainObjectFactory for flexible DSLs, injecting tasks via the Android variants API and hooking afterEvaluate. Explains using project.evaluate() in unit tests, running integration tests against multiple Android Gradle Plugin versions, reading Gradle source and debugging to find variant.connectedInstrumentTest, and publishing to JCenter — all working in production.

AI-written summary · about

  1. 0:00Introduction to Gradle plugins
  2. 2:08Understanding plugin basics
  3. 8:04Designing a flexible DSL
  4. 12:26Implementation of custom DSLs
  5. 27:21Interacting with Android plugins
  6. 33:24Debugging and source inspection
  7. 39:16Testing strategies
~/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.