~/talk

Effective Gradle Scripts for Android Projects

Talkat droidconIN 2016 · 2016-11-10..11-11· [android]
links:none on file
slides:none on file

Shows concrete Gradle techniques: split a monolith into separate projects and publish common parts to a local Maven repository, use composite builds (needs Gradle 3.x) to avoid CI upload loops, centralize version strings in a root Gradle file, load keystore passwords from environment variables, use flavorDimensions to mix variants, and measure builds with profiling and the Build Scan plugin. Claims about savings include 80% unchanged code moved out. A Buck wrapper plugin is suggested as faster but is finicky and may fail in some setups.

AI-written summary · about

  1. 0:00Start
  2. 2:31GRADLE SCRIPTS FOR ANDROID PROJECTS
  3. 4:38Break your code!
  4. 6:01Module ownership is a challenge
  5. 6:49Create multiple smaller projects
  6. 11:09Composite builds
  7. 13:14Compose multiple random builds
  8. 16:39Enable single place ver. update
  9. 18:05Secure passwords
  10. 20:37Item 5: (Flavor)Dimension
  11. 21:50Measure!
  12. 22:14dependencies classpath "com.gradle:build-scan-plugin:1.1.1"
  13. 22:24Optimize it...
~/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.