~/talk

Crash Course in building your First Gradle Plugin

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [developer-experience]
slides:none on file

Step‑by‑step guide to build, test and publish a real Gradle plugin using Kotlin DSL: set up build.gradle.kts with the Java Gradle plugin and Gradle API, implement an Extension (abstract class), a Task (inputs + @TaskAction) and the Plugin (register extension and task), unit test with ProjectBuilder, run functional tests with Gradle TestKit (~9s), publish to the Gradle Plugin Portal or Maven local, and a working example that creates a module dependency graph as Mermaid and updates README.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Why build a Gradle plugin
  3. 3:55What is a Gradle plugin
  4. 5:41Plugin project setup
  5. 8:10Plugin implementation basics
  6. 15:16Testing your plugin
  7. 21:33Publishing your plugin
  8. 26:08Real-world plugin example
  9. 31:49Next steps and resources
~/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.