~/talk

Crash Course in building your First Gradle Plugin

Talkat droidcon San Francisco 2023 · 2023-06-08..06-09· [developer-experience, java]
links:none on file
slides:none on file

A minimal Gradle plugin is built that converts a project graph into Mermaid JS diagrams and is published as a module called module-graphing; implementation uses the Java Gradle Plugin, an abstract extension class with @Inject Project properties, an abstract task with annotated action and declared inputs/outputs for caching, and an apply() entry point that prints "did something" when configured. Tests use JUnit 5 with fast unit tests via ProjectBuilder and 700 ms functional tests via Gradle TestKit, and publishing uses the publishToMavenLocal flow so consuming projects add mavenLocal and the plugin runs successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 2:59Gradle plugin basics
  3. 7:54Plugin structure and components
  4. 14:57Testing Gradle plugins
  5. 21:12Publishing plugins
  6. 23:57Consuming plugins
  7. 25:42Live demo and next steps
~/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.