~/talk

The Secrets of the Build Scan Plugin and the internals of Gradle

Talkat Android Makers 2020 · 2020-04-20..04-21· [devops-and-delivery, kotlin]
slides:none on file

Build scans and Gradle internals turn into concrete actions: enforce JAVA_HOME to disallow multiple daemons so Android Studio and the CLI share one process; sample code uses ManagementFactory to detect 90% GC time and print a warning; a build‑operation listener reads compiledJavaBuildOperationType to measure Dagger annotation processor ms and sum slow processors; a Gradle Dr. plugin benchmarks builds (example means 68.5s vs 70.1s) and computes a threshold to benchmark remote build cache needed bandwidth so slow cache links trigger advice.

AI-written summary · about

  1. 0:00Intro
  2. 0:32Welcome
  3. 1:07About me
  4. 2:10What is a build scan
  5. 2:57Build scan information
  6. 3:40Build scan data
  7. 3:55mismatched JDK
  8. 4:57reuse Gradle daemon
  9. 5:47Android Studio warning
  10. 6:13How do you get people to reuse Gradle Damons
  11. 6:43How to check how many Gradle daemons are running
  12. 8:22Gradle samples
  13. 9:47Multiple projects
  14. 10:10Java Home
  15. 13:00Basic Build Measurements
  16. 14:23The Problem
  17. 15:15Garbage Collection
  18. 16:43Garbage Collection Time
  19. 17:43Annotation Processing Time
  20. 21:49Warnings
  21. 22:06Callbacks
  22. 24:56Limitations
  23. 25:27Gradle API
  24. 26:42Log Events
  25. 29:25Visual VM
  26. 30:21Gradle Profiler
  27. 31:34Other cool things
  28. 32:41Is the Remote Build Cache worth it
  29. 33:55How to benchmark the build cache
  30. 34:16Summary
  31. 35:02Questions
~/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.