Plugin Development and Automating Models Creation
summary
Claim: SWVL cuts model-and-mapper setup from 30 min to 1 min with under 3 clicks. Uses the IntelliJ platform (Gradle plugin template, live templates, Kotlin-to-JSON generator) and IntelliJ PSI APIs to parse generated Kotlin, extract class names and fields, emit five files per type (remote, entity, cache/item, UI, two mappers), update settings.gradle, and run code formatting. Demo shows automatic module creation, mapped fields and nested mappers, and the generator working end-to-end.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:07Getting Started
- 7:51Services
- 10:46Listeners
- 19:37Clean Architecture
- 20:55Mappers
- 21:10Our Implementation
- 29:44Templates
- 31:47Creating Directory
- 32:09Creating File
- 37:57References
related talks
39mFantastic Plugins and Where They Live
19mAutomate what you repeat: From boilerplate to automation
42mWrite your own Android Studio Plugin and automate everything
01h 13mService Plugin
39mFantastic Plugins and Where to Find Them
31mA novel architecture for Multiplatform applications
40mPlugging into Anvil and powering up your dependency injection
01h 09mWorkshop (part 2): Let's plugin some more
