~/talk

An Opinionated, Gradle-Based Approach to Automated Version Management

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android, devops-and-delivery]
links:none on file
slides:none on file

Automates Android versioning by generating versionCode from git commit count (git rev-list --count) and deriving versionName from branch/tags so hotfixes and releases never clash; implements branch-order comparison to pick the closest parent when multiple releases are in flight. Built as Kotlin DSL Gradle tasks that run on CI, tag and sunset releases (git tag Vx.y.z, merge to master), include unit tests that mock git output, and are debuggable in Android Studio. Avoids env vars, uses command-line props. self-deriving versionCode pull commits from upstream release branches

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:14Speaker introduction
  3. 4:22Self-deriving version codes
  4. 9:19Self-deriving version names
  5. 15:39Release branch management
  6. 20:12Demo setup and folder structure
  7. 23:43Unit testing Gradle tasks
  8. 27:50Avoiding environment variables
  9. 30:19Kotlin DSL over Groovy
  10. 32:28Staying in Gradle for CI/CD
  11. 33:31On-demand vs scheduled jobs
  12. 35:36Final gotchas and Q&A
~/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.