Brick by Brick: Building Open Source libraries
summary
A pintro (AppIntro) starts as an onboarding library that now has more than 10,000 stars on GitHub, handles onboarding, permissions and custom layouts, and is migrating to a Kotlin DSL with Compose support to keep the API elegant and stable. Advice includes using Kotlin explicit API mode, @JvmOverloads, sealed classes, and avoiding public data classes; publish to Jetpack/GitHub Packages/Maven Central; automate with CI, Renovate automerge, Danger, SARIF and Stale bot; use semantic versioning and conventional commits.
AI-written summary · about
chapters (10)
- 0:00Introduction to open source
- 1:30Building library foundations
- 4:00Designing elegant APIs
- 9:20Keeping APIs stable
- 14:01Publishing your library
- 18:18Setting release expectations
- 22:33Maintaining repository health
- 26:30Enforcing community rules
- 30:44Growing your community
- 37:35Q&A session
related talks
37mAndroid Librarian's Guide: Building Robust Libraries a…
38mBuilding libraries for the next 25 years
31mTips for Library Development (from a Startup Developer)
30mTips for Library Development (from a Startup Developer)
33mAndroid Open-source repositories 101: Everything you always wanted …
29mDon't reinvent the wheel, use libraries: Modern Android Stack
33mGuide for lazy developer
42mAndroid Architecture Design with Koin
