~/talk

Create a Gradle Plugin to Improve Development Productivity

TalkinJapaneseat DroidKaigi 2018 · 2018-02-08..02-09· [android, developer-experience]
name:tnj
links:none on file
slides:none on file

Shows how to build a Gradle plugin for Android that modifies debug builds by appending "-debug" to versionName and applicationId, exposes a simple extension with boolean flags, and uses afterEvaluate to access build script settings. Demonstrates hooking into android.applicationVariants to read outputs and print APK paths after assemble, adding tasks to open Finder/Explorer for built APKs, and supports local installation as well as publishing to the Gradle Plugin Portal.

AI-written summary · about

  1. 0:00Gradle plugin intro
  2. 3:02Gradle plugin basics
  3. 6:49Debug build plugin
  4. 12:11APK output path
  5. 19:19Open APK in Finder
  6. 23:19Debug Gradle plugins
  7. 24:46Package plugin
  8. 28:24Publish to Portal
  9. 31:14Summary
~/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.