Better Android Development with Kotlin & Gradle
summary
Argues Kotlin cuts context switching by letting app and build code share one language, compiles to JVM6 bytecode so it interops with Java, and adds null-safety, data classes, extension functions and lambdas; measures runtime cost as a ~600 KB runtime and removes lambda overhead with inline to avoid allocations. Shows concrete Gradle work: a Gradle plugin that writes property file and injects API keys into BuildConfig, open-sourced on GitHub, and notes Gradle/IDE tooling is usable but still evolving.
AI-written summary · about
chapters (24)
- 0:00Start
- 8:10Kotlin Features
- 9:04Nullability
- 11:27Data class
- 13:18Higher Order Functions
- 15:44Extension Functions in Android
- 16:23Inline Functions
- 17:43Kotlin - Gradle
- 18:44Installing Kotlin
- 21:58The case of API keys
- 23:08Enter Gradle
- 23:33BuildConfig class
- 23:55Gradle properties
- 26:22Custom Task
- 26:56Custom Properties file
- 27:22Gradle plugin
- 28:46Task in Java
- 32:23Consuming the plugin
- 33:19Kotlin Version - Task
- 34:12Extension - Kotlin version
- 34:22Plugin - Kotlin Version
- 34:55Sprinkle it with Extension Functions
- 35:13Kotlin Version - Plugin
- 36:16Resources








